Email Templates

Email Templates

File locations:

  • src/components/emails/marketing.tsx
  • src/components/emails/transactional.tsx

Our boilerplate comes with two prebuilt templates for both marketing and transactional emails. Both templates are built with React Email, and support TailwindCSS.

To use the component, import it into your route.ts like this:

tsx
import EmailTemplate from "@/components/emails/transactional";