Skip to content

받은 메일 답장·전체 답장 추가 - #64

Merged
littlebit0 merged 11 commits into
mainfrom
feat/issue-25-reply-forward
Nov 26, 2026
Merged

littlebit0 merged 11 commits into
mainfrom
feat/issue-25-reply-forward

Conversation

@littlebit0

Copy link
Copy Markdown
Owner

Refs

Refs #25

배경

본문 화면에 동작하는 답장이 없고, 발송 시 In-Reply-To/References가 없어 상대 앱에서 대화로 묶이지 않는다.

변경

  • 서버: 본문 조회 응답에 messageId, references, replyTo, replyAllTo, replyAllCc 추가(IMAP envelope+References 헤더를 매번 읽어 기존 저장 메일도 지원, 계정 주소 제외·중복 제거). /mail/send가 inReplyTo/references를 받아 nodemailer로 전달.
  • 클라이언트: 본문 화면 답장·전체 답장 버튼 → 작성 화면에 받는 사람/참조/Re:(중복 없음)/인용 본문 채움. 한/영 문구 추가. #60과 무관하게 origin/main 기준으로 구현.

검증

  • 서버 tsc, 테스트 27개 통과(수신자·헤더 생성 테스트 추가). 클라이언트 analyze, test 통과.
  • macOS 디버그 빌드 실행: 빈 계정 상태 화면까지만 확인(계정 추가 금지라 본문·작성 화면은 열어보지 못함).

미확인/후속

  • 실계정 발송·Gmail/Outlook 대화 묶임 미확인. 전달(Fwd)과 원본 첨부는 후속. HTML 서식 인용, 보낸편지함 저장은 미처리.

본문 화면에서 답장/전체 답장을 누르면 받는 사람·참조·Re: 제목·원문 인용이 채워진
작성 화면이 열린다. 서버는 본문 조회 시 Message-ID·References·Reply-To·To·Cc를
읽어 내려주고, 발송 시 inReplyTo/references 헤더를 nodemailer로 보낸다.
@littlebit0
littlebit0 force-pushed the feat/issue-25-reply-forward branch from 6bdfac0 to be59254 Compare November 21, 2026 15:43
@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:03:24.203621Z
We couldn’t complete this review. Comment @codex review to try again.
782d2c5 New commits
🔒 Security Review ✅ Completed 2026-11-21T16:16:21.005178Z e86818d 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.

@littlebit0

Copy link
Copy Markdown
Owner Author

실제 macOS 앱 확인에서 나온 문제: 답장 인용 헤더에 목록용 상대 시간("7h")이 그대로 들어갔습니다.

  • 메일 상세의 receivedAt(서버가 이미 내려주는 ISO 시각)을 MessageDetail.receivedAt로 보관합니다.
  • 인용 헤더는 로컬 시간 절대 일시로 표시합니다. 한국어 2026-11-20 (금) 17:12, 영어 Fri, Nov 20, 2026 at 17:12 (intl DateFormat, 앱 시작 시 로케일 초기화).
  • 한국어·영어 회귀 테스트를 추가했습니다.

커밋: e86818d

@codex review

언어 (최우선)

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

댓글작성

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

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: e86818db31

ℹ️ 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: e86818db31

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

Copy link
Copy Markdown

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

…orward

# 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.

…orward

# 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.

…orward

# 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.

…orward

# 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.

…orward

# Conflicts:
#	apps/client/lib/core/app_router.dart
#	apps/client/lib/core/i18n/language_controller.dart
#	apps/client/lib/features/message/compose_page.dart
#	apps/client/lib/features/message/message_page.dart
#	apps/server/package.json
#	apps/server/src/api/routes.ts
@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 7f4f068 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