Files
beenvoice/packages/email/README.md
T
2026-08-17 16:35:14 -04:00

17 lines
594 B
Markdown

# @beenvoice/email
Server-only email transport shared by Beenvoice delivery paths.
- `EMAIL_PROVIDER=mailpit` uses local SMTP and is rejected in production.
- `EMAIL_PROVIDER=smtp` uses any configured SMTP-compatible provider.
- `EMAIL_PROVIDER=resend` uses the Resend HTTP API and supports idempotency keys.
Local development defaults to Mailpit at `127.0.0.1:1028`; its web UI is at
`http://localhost:8028`. Start it with the web development dependencies and send
a representative message with a PDF attachment:
```bash
bun run --filter @beenvoice/web docker:up
bun run email:preview
```