Skip to Content

Email

The Email module handles transactional email sending using React Email for templates and Nodemailer for transport.

Overview

  • Location: modules/mail
  • Key Files:
    • send.ts: Logic for sending emails.
    • templates/: React components for email layouts.
    • config.ts: SMTP and transport configuration.

Creating Templates

Templates are standard React components located in modules/mail/templates. They can be styled using inline styles or Tailwind (if configured for emails).

Sending Emails

Use the send function to dispatch emails:

Last updated on