Customizable transactional emails with React Email templates
components/mails/mail-components.tsx
:
Component | Description |
---|---|
MailContainer | Container for the entire email |
MailBody | Email body with proper styling |
MailTitle | Title/heading for the email |
MailText | Paragraph text with proper styling |
MailButton | Call-to-action button |
MailFooterText | Footer text with smaller size |
components/mails/
to change the content and design:
resources/site.ts
:
Variable | Description | Required |
---|---|---|
RESEND_API_KEY | Resend API key for sending emails | Yes |
RESEND_EMAILS_DOMAIN | Domain for sending emails with Resend | Recommended |