feat(email): add ImapProvider (generic IMAP for unsupported providers) #12
Reference in New Issue
Block a user
Delete Branch "feat/imap-provider"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
b3 of the multi-provider email roadmap. Generic IMAP via MailKit for mailboxes with no dedicated OAuth provider: ImapConnection model/table, ImapService (connect/search/thread/message-detail), ImapProvider implementing IEmailProvider, ImapController (credential connect, no OAuth). Scoped to INBOX with References/In-Reply-To-based thread approximation (documented inline).
Security: ran the security-audit skill per the standing gate. Found + fixed a real SSRF (arbitrary host:port connect target, no internal-range check, distinguishable connect-vs-auth failure = network-probing oracle). Fixed with DNS-resolve + internal-range rejection re-checked on every reconnect, plus a single generic failure message. 7 regression tests. 168/168 total green.
3849c16666toa8e2f4dc4a