refactor(gmail): route message import through IEmailProvider #9

Merged
cesnimda merged 1 commits from feat/gmail-provider-contract into main 2026-07-11 13:26:21 +02:00
Owner

ImportSingleMessageAsync now fetches the message + connection through the provider-neutral IEmailProvider seam, mapping the neutral ExternalAttachmentId onto CorrespondenceAttachmentMetadata. OAuth lifecycle and candidate ranking stay on IGmailOAuthService until a second provider exists to shape that contract. 135/135 green.

ImportSingleMessageAsync now fetches the message + connection through the provider-neutral IEmailProvider seam, mapping the neutral ExternalAttachmentId onto CorrespondenceAttachmentMetadata. OAuth lifecycle and candidate ranking stay on IGmailOAuthService until a second provider exists to shape that contract. 135/135 green.
cesnimda added 1 commit 2026-07-11 13:20:00 +02:00
refactor(gmail): route message import through IEmailProvider
CI and Deploy / test (pull_request) Successful in 2m3s
CI and Deploy / deploy (pull_request) Has been skipped
9cb99a7ba7
ImportSingleMessageAsync now fetches the message + connection through the
provider-neutral seam (Email.GetMessageAsync/GetConnectionAsync), mapping the
neutral ExternalAttachmentId onto CorrespondenceAttachmentMetadata. The
controller's import path no longer touches Gmail directly.

OAuth lifecycle, the rich connection-status DTO, and Gmail candidate ranking
stay on IGmailOAuthService until a second provider (Microsoft/IMAP) forces the
contract shape. 135/135 green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
cesnimda merged commit 7529b99edd into main 2026-07-11 13:26:21 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cesnimda/jobtrackingapp#9