All posts

React Email

Guides & tutorials for building emails with React Email

React Email8 min read

React Email 5.0: Tailwind 4, Dark Mode Theming, and What Changes for Your Templates

React Email 5.0 ships Tailwind CSS v4, native dark mode theming, and a CSS compatibility checker. Here is what changed, what breaks, and whether to migrate or start fresh.

Apr 8, 2026Read
React Email11 min read

The Complete SaaS Email Stack: Build Every Template with React Email and Resend

Build the six essential SaaS emails - welcome, verification, password reset, trial ending, receipt, and dunning - with React Email and Resend. Includes setup code, edge cases, and time-saving shortcuts.

Apr 2, 2026Read
React Email9 min read

Why AI-Generated Email Templates Break in Production

AI email generators produce HTML that looks great in preview but breaks across Outlook, Gmail, and Yahoo. Learn why email HTML is different and what to use instead.

Mar 20, 2026Read
React Email16 min read

React Email vs MJML vs Maizzle: Which Email Framework Should You Pick in 2026?

A practical, opinionated comparison of the three dominant email frameworks - covering DX, TypeScript support, client compatibility, performance, and when to pick each one.

Mar 14, 2026Read
React Email13 min read

Multi-Tenant Email Templates with Next.js and React Email: Per-Brand Customization at Scale

B2B SaaS apps need to send emails that look like they come from the customer's brand, not yours. Build a dynamic, multi-tenant email template system with React Email, tenant config schemas, preview tooling, and caching.

Mar 8, 2026Read
React Email11 min read

Responsive Email Design Patterns with React Email

Over 60% of emails are opened on mobile, yet most templates are desktop-first. Learn fluid layouts, stacking columns, touch-friendly CTAs, and the CSS tricks that work across 90+ email clients.

Mar 7, 2026Read
React Email12 min read

Migrating from Handlebars to React Email: A Practical Guide

A file-by-file migration playbook: map Handlebars partials, helpers, and layouts to React Email components. Includes a coexistence pattern so you can migrate one template at a time without downtime.

Mar 6, 2026Read
React Email13 min read

NextAuth Password Reset Emails with React Email: A Secure Token Flow

A practical, production-safe password reset flow for Auth.js (NextAuth) + Next.js App Router: one-time tokens, hashed storage, short expiry, rate limits, and a React Email template that looks legit.

Mar 5, 2026Read
React Email14 min read

React Email Design Tokens & Theming: Build Consistent Email UIs That Scale

Stop copy-pasting button styles and hex codes. Use design tokens to centralize colors, spacing, typography, and layout across all your React Email templates. Includes multi-brand support and dark mode patterns.

Mar 4, 2026Read
React Email16 min read

React Email Error Boundaries: Catch Render Failures Before They Reach Production

Build production-grade error boundaries for React Email. Catch runtime failures, render fallbacks, log errors, and prevent silent email failures with defensive rendering patterns.

Mar 4, 2026Read
React Email14 min read

Server Actions + React Email: Type-Safe Email Sending in Next.js 15

Build type-safe email flows with Next.js 15 Server Actions and React Email. No API routes, no fetch boilerplate - just one function that validates, renders, and sends. Includes rate limiting, idempotency, and production patterns.

Mar 4, 2026Read
React Email15 min read

React Email Preview Environment Patterns: Dev, Staging, and Production Preview Servers

Build preview environments for React Email that scale from solo dev to team collaboration. Local preview servers, staging galleries, CI-deployed previews, and production-safe admin routes.

Mar 3, 2026Read
React Email16 min read

Webhook Monitoring for React Email: Track Delivery, Bounces, and Engagement in Production

Stop flying blind on email delivery. Set up webhooks to track deliveries, bounces, spam complaints, opens, and clicks. Includes retry logic, automated alerts, and engagement analytics for production React Email apps.

Mar 3, 2026Read
React Email13 min read

React Email Attachment Patterns: Files, PDFs, and Dynamic Attachments in Production

Handle email attachments in React Email: static files, dynamic PDFs, user uploads, S3 fetching, encoding gotchas, size limits, and multi-file sends that don't break.

Mar 2, 2026Read
React Email14 min read

Email Component Library Patterns: Build Reusable React Email Components That Scale

Build a production-ready React Email component library in under an hour. Foundation patterns for base layouts, styled primitives, buttons, sections, and alerts that prevent template chaos.

Mar 1, 2026Read
React Email12 min read

Email Template Versioning: How to Ship Breaking Changes Without Breaking Production

Stop breaking in-flight emails. Learn versioned template patterns, gradual rollout strategies, and backward-compatible migrations for React Email in production.

Mar 1, 2026Read
React Email14 min read

React Email Preview Testing: Local Dev, CI, and Cross-Client Automation

Build a complete testing workflow for React Email templates: local preview servers, automated unit tests, visual regression with Playwright, cross-client testing (Gmail, Outlook, Apple Mail), and CI integration.

Mar 1, 2026Read
React Email10 min read

Preview Data Patterns for React Email: How to Test Edge Cases Before Production

Stop shipping emails that break with real data. Use preview data factories, Zod validation, edge case variants, and centralized registries to catch bugs during development.

Mar 1, 2026Read
React Email12 min read

Internationalization for React Email: A Production-Ready i18n Guide

Add multi-language support to React Email templates: centralized translations, RTL support, date/currency formatting, subject line localization, and testing across locales.

Feb 28, 2026Read
React Email11 min read

React Email + API Routes: Production Patterns for Reliable Sends

Build production-ready email API routes with React Email: validation, error handling, idempotency, rate limiting, async patterns, and structured responses that prevent silent failures.

Feb 28, 2026Read
React Email10 min read

Testing React Email Templates: Unit Tests, Preview Tests, and Real Client Testing

A complete guide to testing React Email templates: unit tests for props validation, visual regression with Playwright, real client testing (Gmail, Outlook, Apple Mail), and CI/CD integration.

Feb 27, 2026Read
React Email8 min read

Dark Mode Email: How to Stop Your Emails Looking Broken in 2026

A practical guide to dark mode email support: how Gmail, Outlook, and Apple Mail each handle it differently, safe color choices, image handling, and a minimum viable approach you can ship today.

Feb 26, 2026Read
React Email7 min read

React Email + Resend: Production Checklist for Next.js

A practical pre-flight checklist for sending reliable transactional email in Next.js using React Email and Resend: env vars, validation, deliverability, idempotency, and tests.

Feb 25, 2026Read
React Email8 min read

Getting Started with React Email in Next.js

A step-by-step guide to setting up React Email in your Next.js project. Install, configure, preview, and send your first transactional email.

Feb 25, 2026Read