React Email React and TypeScript email components, rendering utilities and an optional embeddable template editor.
Overview React Email is an open-source toolkit for authoring email templates with React components. It renders those components to HTML for a separate sending integration and can produce a plain-text version. It is useful when an application team wants reusable, code-based email layouts alongside its JavaScript or TypeScript codebase.[1] [2]
Contents Templates and delivery A template is a JSX or TSX component rendered to an HTML string. Its output can be passed to a sending provider; documented integrations include Nodemailer and several hosted email services. React Email's association with Resend does not make Resend the only documented delivery route. The rendering toolkit should be evaluated separately from the service responsible for transporting messages and any terms that service applies.[1] [2]
Rendering and preview The CLI can run and build a preview application. Its export command generates static HTML files, but documentation recommends the render utility when data should be passed as props at sending time. Building the preview application is not the same operation as producing a recipient-specific email. Plain-text output is derived from rendered HTML; data-skip-in-text can exclude selected content from that version without removing it from HTML.[2] [3]
Email-specific styling The Tailwind wrapper translates utility classes into email styles, but browser CSS assumptions do not automatically transfer to mail clients. A pixel-based preset addresses clients with poor rem support. The documentation also lists limitations for context providers placed inside the Tailwind wrapper and for typography's prose styling. Moving a context provider above the wrapper is the documented workaround for the first issue. These constraints matter when reusing generated web components as email templates.[4]
Content compatibility The image component supports alternative text and explicit dimensions. Its documentation cautions that SVG support across email clients is weak and recommends avoiding that format for broad compatibility. A successful browser preview therefore cannot establish that a recipient's mail client will display every asset in the same way.[8]
Optional visual editing The separate embeddable Editor builds on Tiptap and ProseMirror with email-aware nodes and marks, visual formatting controls and HTML/plain-text export. This expands the toolkit beyond handwritten templates, but custom extensions still need email-compatible serialization. The inspected documentation identifies slow development compilation in some Next.js setups because the code-block component includes Prism language grammars. That is a documented integration limitation, not a performance result measured for this article.[6]
License The repository uses MIT terms, permitting modification and commercial redistribution subject to retaining the notices. This software license does not provide a mail-sending account or establish the price or conditions of an external delivery service.[1] [7]
Substitution considerations React Email can replace MJML for teams choosing React-based template composition. The migration guide calls for converting MJML templates to JSX or TSX, replacing standard tags where equivalents exist and rewriting custom MJML components. This is source migration, not a promise that existing files can be imported unchanged or retain identical rendering. No messages were sent and no mail-client compatibility test was performed during this research.[5]
Also included: 3 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.