React Email 6.0
React Email 6.0 is an open-source visual email editor you can embed in your app, with new templates and a unified components package.
What is React Email 6.0?
React Email 6.0 is an open-source update to React Email, providing a visual email editor that you can embed inside your own application. It also includes a new set of templates and a unified package for importing React Email components.
The core purpose of React Email 6 is to help teams author email layouts and generate email-ready output (including HTML) from a React-based workflow, while keeping the editor extensible and customizable.
Key Features
- Open-source visual editor (standalone package): Install the editor as
@react-email/editorand embed it in your app usingEmailEditor. - Embed in your application: Render the editor directly in React with a minimal component example (
return <EmailEditor />). - Editor architecture with core + extensions: The editor is split into a built-in core and an extension layer, so custom blocks/features can be added without changing the core.
- Composable node API (
EmailNode) for custom blocks: Define new editor blocks by specifying both how the block maps to HTML and how it renders to React Email output. - Theme support: Load the default theme CSS (
@react-email/editor/themes/default.css) or build a custom theme to match your app’s styling. - New templates collection: Includes templates for common use cases (authentication flows and e-commerce sequences) provided as React Email templates and as Figma files.
- Unified React Email components package: Import components from
react-emailas a single package (the editor still needs separate installation).
How to Use React Email 6.0
- Install or update packages using the instructions from the upgrade section if you are moving from React Email 5.0.
- Install the editor separately (the editor is not included in the unified
react-emailpackage):npm i @react-email/editor
- Embed the editor in your React app:
- Import
EmailEditorfrom@react-email/editorand render it in a component.
- Import
- Optionally style the editor:
- Import the default theme CSS (
@react-email/editor/themes/default.css) or apply your own theme.
- Import the default theme CSS (
- Customize the editor (optional):
- Use the composable API (
EmailNode) to define custom blocks that include both HTML parsing (parseHTML) and output generation (renderToReactEmail).
- Use the composable API (
- Start from templates:
- Use the provided templates as a base, or pull individual sections into your own React Email templates.
Use Cases
- Embed an email composer in a web app: Add a visual editor to a dashboard so users can create email content inside your product.
- Build custom content blocks for specific workflows: Create blocks like a callout, media uploader, embedded social posts, or inline charts by defining an
EmailNode. - Standardize templates for common email types: Use the new authentication flow and e-commerce templates to reduce time spent creating initial layouts.
- Integrate the editor with your existing UI styling: Import the default theme to get started quickly, then create a custom theme so the editor matches your application.
- Develop a maintainable email component library: Import common layout and UI components from the unified
react-emailpackage while keeping the editor as a separate install.
FAQ
-
Is the editor included in the unified
react-emailpackage?
No. The editor is installed separately as@react-email/editor. -
Can I embed the editor directly in my React app?
Yes. The documentation shows importingEmailEditorand rendering it in a component. -
How do I add custom blocks to the editor?
Use the composable API viaEmailNodeto define a block’s HTML parsing (parseHTML) and its React Email rendering output (renderToReactEmail). -
Where can I find the new templates?
The templates are available as React Email templates and as Figma files, including authentication and e-commerce templates. -
What’s different about upgrading from React Email 5.0 to 6.0?
The upgrade steps remove@react-email/componentsand@react-email/preview-server, installreact-email@latestand@react-email/ui@latest, and update imports to usereact-emailinstead of@react-email/components.
Alternatives
- Generic email HTML editors/builders (non-React): Useful if you only need an editor UI and don’t want a React-based component workflow, but you lose the React Email integration model.
- Template-first React email libraries: If you don’t need a visual editor embedded in your app, you can rely on React components/templates without editor extensibility.
- WYSIWYG editors that export HTML: These can produce email HTML output, but they may not provide the same composable node approach for embedding editor-specific custom blocks into a React Email workflow.
- Design tooling with manual conversion to email markup: Figma-first teams can create layouts in Figma and manually implement them in email code; this differs from using React Email templates directly and from generating email-ready output through the editor workflow.
Alternatives
LIAM
LIAM is an AI copilot that drafts email replies, organizes your inbox with auto-labels and prioritization, and schedules meetings from your calendar.
Make Real
Draw a UI and make it real using the tldraw SDK.
Nolain OCR
Nolain OCR is an advanced Optical Character Recognition solution designed to accurately extract text and data from various document formats, streamlining document processing workflows.
AgentMail
AgentMail is an email inbox API for AI agents to create, send, receive, and search email via REST for two-way agent conversations.
Jenni
Jenni is an AI workspace to read PDFs, draft essays and papers, and generate in-text citations in 2.6k+ styles.
Clawcard
Clawcard: AI agents get a real inbox, phone number & virtual credit card for OpenClaw. Secure, autonomous agent operations.