Skip to content

Better Email

What is Better Email?

Better Email is a library, not a service. Templates are React components (.tsx files) with type-safe variables, stored alongside your app code. Send via any provider (Resend, Postmark, SES, SMTP) through a unified API. Every send is logged to your own database. A local preview server (npx better-email dev) renders all your templates with sample data in a browser — no more “send test email to myself” loops.

Works with any database your ORM adapter supports — Postgres, MySQL, SQLite, and more.

Planned features

  • React component templates.tsx files with type-safe variables, colocated with your app
  • Any provider — Resend, Postmark, SES, SMTP through a unified send API
  • Local preview server — render templates with sample data in a browser
  • Send logging — every email logged to your own database with delivery status
  • Type-safe end-to-end — template variables checked at compile time
  • Plugin-driven — extend with custom providers, renderers, and tracking