React Email

React component library for building HTML email templates. Provides email-safe React components (Body, Container, Section, Text, Button, Link, Image, etc.) that render to email-client-compatible HTML. Includes a local development preview server to see emails in different clients. Made by the Resend team — optimized for use with Resend but works with any email provider (Nodemailer, SendGrid, Postmark, etc.).

Evaluated Mar 06, 2026 (0d ago) v3.x
Homepage ↗ Repo ↗ Developer Tools email react templates html-email resend transactional typescript preview
⚙ Agent Friendliness
68
/ 100
Can an agent use this?
🔒 Security
92
/ 100
Is it safe for agents?
⚡ Reliability
83
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
--
Documentation
88
Error Messages
82
Auth Simplicity
100
Rate Limits
100

🔒 Security

TLS Enforcement
95
Auth Strength
92
Scope Granularity
88
Dep. Hygiene
88
Secret Handling
95

Template rendering only — no auth or data storage. Email provider handles transport security. MIT open source. No telemetry. XSS prevention is React's auto-escaping.

⚡ Reliability

Uptime/SLA
85
Version Stability
83
Breaking Changes
80
Error Recovery
85
AF Security Reliability

Best When

You're building transactional email templates in a React/TypeScript project and want component-based email authoring with a local preview server.

Avoid When

You need a visual drag-and-drop email builder for marketing teams — React Email requires writing code.

Use Cases

  • Build transactional email templates (welcome, reset password, invoice) using React components instead of hand-coding email HTML
  • Preview emails in development with a local server that shows rendering across common email clients without sending
  • Generate HTML email strings for use with any email provider (Resend, SendGrid, Postmark, Nodemailer) via render() function
  • Create a reusable email component library with shared headers, footers, and brand elements across multiple email templates
  • Build type-safe email templates with TypeScript props that validate required data before sending

Not For

  • Marketing mass email campaigns — use Mailchimp/Klaviyo for marketing emails; React Email is optimized for transactional
  • Complex email animations or interactive content — email clients support very limited CSS and no JavaScript
  • WYSIWYG email builder for non-developers — React Email is code-based; use Unlayer or Stripo for drag-and-drop editing

Interface

REST API
No
GraphQL
No
gRPC
No
MCP Server
No
SDK
Yes
Webhooks
No

Authentication

Methods: none
OAuth: No Scopes: No

No authentication — template rendering library. Email sending uses the provider's auth (Resend API key, SendGrid API key, etc.).

Pricing

Model: open_source
Free tier: Yes
Requires CC: No

MIT licensed. Completely free. Made by Resend but usable with any email provider.

Agent Metadata

Pagination
none
Idempotent
Full
Retry Guidance
Not documented

Known Gotchas

  • React Email components use email-safe CSS — not all Tailwind/modern CSS works in email clients; stick to components' built-in style props
  • The @react-email/tailwind component provides Tailwind for emails but with limited support — not all Tailwind utilities translate to email-safe CSS
  • Dark mode in email is client-controlled and inconsistent — don't rely on @media (prefers-color-scheme) working everywhere
  • Images must be hosted externally — inline base64 images are blocked by most email clients; use CDN URLs
  • Conditional comments for Outlook require raw HTML — use the <Html> tag with condComments for Outlook-specific overrides
  • Preview server (email.dev) runs locally on port 3000 — conflicts with other local dev servers; configure alternate port if needed

Alternatives

Full Evaluation Report

Detailed scoring breakdown, competitive positioning, security analysis, and improvement recommendations for React Email.

$99

Scores are editorial opinions as of 2026-03-06.

5208
Packages Evaluated
26151
Need Evaluation
173
Need Re-evaluation
Community Powered