Skip to main content
Local mailer is the zero-config development stub: it renders every email template and logs the resulting HTML, subject, and recipient to stdout — so you can verify email content without needing a SendGrid account.

Why

The local mailer lets you develop and test all email flows — including the full template render — without a SendGrid API key or an email inbox. Every send() and queue() call runs through the same template pipeline as production, so you catch template bugs early.

Setup

This is the default for development.ts and requires no extra dependencies or environment variables:
mailer: {
  client: MailerClientType.LOCAL,
  from: 'dev@example.com',
}
Queued emails still go through the EMAIL queue consumer — you’ll see the rendered output in the consumer’s log stream.

What’s next?

  • Twilio SendGrid — the production provider, including the full template list and send vs queue comparison.