Open-source SWE
Simple Mailer
An embeddable npm package for bulk and transactional email with fault-tolerant dispatch, backoff retries, quota handling, and crash recovery.
1,000+ recipientsPilot campaign
Approach
- Embeddable npm package for bulk and transactional email.
- Fault-tolerant six-state dispatch system: atomic job claiming, rate-limit-aware pacing, exponential-backoff retries, provider quota handling, suppression filtering, audit logging, lease-based crash recovery.
- Dependency-injected storage and transport interfaces (Google Workspace OAuth2/SMTP).
- Npm-workspaces CLI with CSV ingestion, HTML/text templating, validation, dry runs, Vitest integration tests.
Results
- Pilot campaign with 1,000+ recipients.
Stack
- TypeScript
- Node.js
- SQLite
- Nodemailer
- OAuth2
- Vitest
- npm