Skip to content

TIP

This page mirrors packages/mailer/README.md from the repository. Edit it at the source, not here.

@saasweave/mailer

Transactional email rendering and delivery abstraction.

Providers

MAIL_PROVIDERBehavior
console (default)Logs rendered email; no send
resendResend API (RESEND_API_KEY)
smtpNodemailer (SMTP_URL)

Templates

React Email templates in src/templates/ (invitations, etc.). Rendered via react-email.

Environment variables

VariableNotes
MAIL_PROVIDERconsole | resend | smtp
MAIL_FROMFrom header
RESEND_API_KEYFor resend
SMTP_URLe.g. smtp://user:pass@host:587

Released under the MIT License.