Nextjs Email
Sending email with nextjs.
Email Client
Infrastructure
Context
- Services — Where email fits in the service layer
- Platform Operations — Infrastructure that runs the mail pipeline
- Middleware — Request-level hooks before email triggers
Questions
When should email be a service boundary versus an inline side effect?
- What breaks first when transactional email volume spikes — the sender, the queue, or the template renderer?
- How do you test email delivery without sending real mail?
- When does a notification system outgrow simple email and need its own service?