✨ feat(email): pkg/email + Mailpit docker-compose service (ADR-0029 Phase A.1) #59
Reference in New Issue
Block a user
Delete Branch "feat/email-infra-mailpit-phase-a1"
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?
Foundation PR for the passwordless auth migration. Ships only the infrastructure: pkg/email.Sender interface + SMTPSender impl with Mailpit defaults, mailpit service in docker-compose, config keys + getter, EMAIL.md doc. No auth code yet — magic link handlers land in Phase A.2+. 6 unit tests cover validation, RFC5322 build (plain + multipart), header canonicalisation, defaults, ctx cancel. Race-clean. Cross-refs ADR-0028/0029/0030.