Skip to content

계정별 IMAP 메일 검색 (보낸 사람·제목·기간) - #65

Merged
littlebit0 merged 14 commits into
mainfrom
feat/issue-27-mail-search
Nov 26, 2026
Merged

littlebit0 merged 14 commits into
mainfrom
feat/issue-27-mail-search

Conversation

@littlebit0

Copy link
Copy Markdown
Owner

Refs

Refs #27

배경

검색 기능이 없고 가져오지 않은 과거 메일은 서버 저장소에 없어 앱에서 찾을 수 없었다.

변경

  • 서버: GET /accounts/:id/search?q= (INBOX IMAP SEARCH, 최신 50건 envelope). from:/subject:/after:/before: 파서, 일반 텍스트는 제목 OR 보낸 사람. 잘못된 쿼리·POP3 계정은 400.
  • 저장소에 없는 메시지도 열 수 있게 메시지 상세 조회가 IMAP에서 envelope를 직접 가져옴.
  • 클라이언트: 계정 메일함에 검색창, 결과 탭하면 기존 메시지 페이지로 이동, X로 검색 해제. 한/영 문구 추가.

검증

서버 tsc 및 테스트 26건 통과(파서 단위 테스트 추가), 클라이언트 analyze·test 통과(기존 위젯 테스트의 TextField 찾기를 다이얼로그로 한정). macOS 디버그 빌드 실행 확인, 계정이 없어 검색 화면과 실제 IMAP 검색은 미확인.

미확인/후속

본문 검색·한글 검증, Gmail X-GM-RAW, has:attachment·안 읽음, 최근 검색어, 검색 취소·시간 제한, 실제 IMAP 서버(Gmail·Outlook·네이버·다음) 결과 일치 확인.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-26T18:40:41.586265Z
We couldn’t complete this review. Comment @codex review to try again.
741bdf9 New commits
🔒 Security Review ✅ Completed 2026-11-21T16:10:04.573132Z 304ceb2 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c194551044

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@littlebit0

Copy link
Copy Markdown
Owner Author

Codex 지적(계정 전환 시 검색 상태 잔류)을 a83fd39에서 반영했습니다.

@codex review

언어 (최우선)

리뷰 제목·본문·요약·지적 사항은 모두 한국어로 작성하세요.

댓글작성

지적은 문제, 재현 조건, 수정 방향 순서로 짧게 쓰세요.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: a83fd39e58

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛡️ Codex Security Review · Automatically triggered

Here are some automated security review suggestions for this pull request.

Reviewed commit: a83fd39e58

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

Comment thread apps/server/src/api/routes.ts Resolved
실제 사용자 인증(#20) 전까지 네트워크 호출자가 IMAP 자격증명으로 미가져온 본문을 읽지 못하게 막는다. ALLOW_REMOTE_MAIL_SEARCH=true로만 원격 허용.
@littlebit0

Copy link
Copy Markdown
Owner Author

Codex 지적 1건을 04c0d72에서 반영했습니다.

@codex review

언어 (최우선)

리뷰 제목·본문·요약·지적 사항은 모두 한국어로 작성하세요.

댓글작성

지적은 문제, 재현 조건, 수정 방향 순서로 짧게 쓰세요.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: 04c0d72952

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛡️ Codex Security Review · Automatically triggered

Here are some automated security review suggestions for this pull request.

Reviewed commit: 04c0d72952

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

Comment thread apps/server/src/api/routes.ts Resolved
루프백 IP만으로는 브라우저 웹 페이지(DNS 리바인딩 포함)를 막지 못하므로,
Host가 루프백이 아니거나 Origin 헤더가 있는 요청은 403으로 거부한다.
@littlebit0

Copy link
Copy Markdown
Owner Author

Codex 지적 1건을 304ceb2에서 반영했습니다.

@codex review

언어 (최우선)

리뷰 제목·본문·요약·지적 사항은 모두 한국어로 작성하세요.

댓글작성

지적은 문제, 재현 조건, 수정 방향 순서로 짧게 쓰세요.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: 304ceb297a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: 304ceb297a

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 725fbd7ec6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

…arch

# Conflicts:
#	apps/server/package.json
FutureBuilder가 새 검색어의 Future로 바뀌어도 이전 snapshot의 data·error를 유지하므로 connectionState가 done일 때만 결과를 그린다. 지연 fake로 두 번째 검색 대기 중 이전 결과가 남지 않는지 위젯 테스트를 추가했다.
…arch

# Conflicts:
#	apps/server/package.json
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@littlebit0

Copy link
Copy Markdown
Owner Author

Codex 지적 1건을 9ba335b에서 반영했습니다.

@codex review
##언어 (최우선)

  • 모든 리뷰 코멘트와 요약은 한국어로 작성합니다. 무조건 한국어로 작성합니다. 예외의 경우는 아래와 같습니다.
  • 코드 식별자, 파일 경로, 명령어, 인용한 코드는 원문 그대로 둡니다.
    ##댓글작성
  • 작성 시 사용 안내는 절대적으로 작성하지 않습니다. 리뷰에 관련된 내용만 작성합니다.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

…arch

# Conflicts:
#	apps/server/package.json
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

…arch

# Conflicts:
#	apps/server/package.json
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

…arch

# Conflicts:
#	apps/server/package.json
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

…arch

# Conflicts:
#	apps/server/package.json
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

…arch

# Conflicts:
#	apps/client/lib/features/accounts/account_mailbox_page.dart
#	apps/server/package.json
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@littlebit0
littlebit0 merged commit 1aea155 into main Nov 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant