You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Zapier replacement needs two inbound-email routes: TODO email and invoice/receipt email. Datamailer already has inbound MIME inspection code and test fixtures, while production infrastructure already has parts of an SES-to-S3 mailbox path. Datamailer should own receipt, parsing, alias routing, and normalization, then publish events for Dapier.
Acceptance criteria
Integrate SES receipt rules, encrypted private S3 storage, S3 event/SQS processing, a DLQ, and least-privilege worker permissions.
Route configured recipient aliases such as invoice and TODO independently.
Parse sender, recipients, subject, date, Message-ID, text, HTML, and attachments.
Reuse/refactor the existing MIME parser and fixtures rather than duplicating parsing.
Store raw/large content in S3 and publish references rather than embedding binaries.
Use Message-ID plus recipient route for idempotency.
Publish a documented, versioned normalized event for Dapier.
Document raw MIME retention and deletion.
Add tests for HTML/text alternatives, attachments, multiple recipients, duplicate delivery, and malformed MIME.
Add a production smoke test for a real received message.
Update the corresponding DataTalksClub/aws-infra Datamailer root and document that cross-repository change.
Boundary
Datamailer does not render PDFs or decide DataOps invoice/TODO behavior. Cross-repository plan: dapier/docs/zapier-migration-plan.md.
Context
The Zapier replacement needs two inbound-email routes: TODO email and invoice/receipt email. Datamailer already has inbound MIME inspection code and test fixtures, while production infrastructure already has parts of an SES-to-S3 mailbox path. Datamailer should own receipt, parsing, alias routing, and normalization, then publish events for Dapier.
Acceptance criteria
Boundary
Datamailer does not render PDFs or decide DataOps invoice/TODO behavior. Cross-repository plan:
dapier/docs/zapier-migration-plan.md.