Email Template
- Add the component under
packages/api/src/emails/templates/<name>.tsxand export a plain-text version beside it. - Render dates in the campsite's timezone and name the zone.
- Add the template to the map in
packages/api/src/emails/index.tssoenqueueEmail()can find it. - Preview it with
pnpm --filter @saltmarsh/api exec email dev.
Gotchas
- An email that states a refund amount takes it from the refund record, never recomputes it.