Codebase
How the open-source repository is organized.
sypnia-mail/
├─ engine/ Rust workspace
│ ├─ api/ HTTP API (axum)
│ ├─ smtp/ the SMTP relay
│ ├─ render/ templates: Handlebars-compatible rendering, MIME building, text from HTML
│ ├─ queue/ the queue, pacing per project, scheduling
│ ├─ transport/ SES and SMTP transports behind one trait
│ ├─ events/ SES event receiver, suppression rules
│ ├─ webhooks/ dispatcher and signatures
│ ├─ inbound/ parser and rules
│ └─ mcp/ the MCP server
├─ migrations/ sypnia_mail schema
├─ packages/mail/ @sypnia/mail (server, templates, react, cli)
├─ deploy/ docker compose with Mailpit, AWS template
├─ spec/openapi.yaml
└─ docs/ARCHITECTURE.mdTests run against Mailpit for SMTP and a recorded SES fake for events, so they need no AWS account.