Email Providers

All providers implement the MailProvider interface, giving you a consistent API regardless of which email service you use:

interface MailProvider {
  send(options: MailOptions): Promise<MailResponse>;
}

Choose the provider that best fits your infrastructure and swap between them without changing your application code.

Available Providers

  • SMTP -- Built-in provider using Nodemailer. No extra dependencies required.
  • SendGrid -- Cloud-based email delivery via the SendGrid API.
  • AWS SES -- Amazon Simple Email Service with full AWS SDK support.
  • Mailgun -- Mailgun API-based email delivery with US and EU region support.
  • Resend -- Modern email API built for developers.
  • Postmark -- Transactional email service focused on delivery speed.