transactional-email
Installation
SKILL.md
Transactional Email
Overview
SaaS apps send email constantly: verification, invites, receipts, password resets, alerts. Use a provider built for it (Resend, Postmark, or SES) with React Email for typed, previewable templates. Treat sending as a side effect: trigger it from a background job, not inline in the request, so a slow mail API never blocks the user or fails their action.
When to use
- Sending verification, invite, receipt, reset, or notification emails.
- Building reusable, branded email templates.
- Email sends are slowing requests or failing them.
Template + send
// src/server/email/templates/Invite.tsx
import { Button, Html, Text } from "@react-email/components";