# React Email

React and TypeScript email components, rendering utilities and an optional embeddable template editor\.

ID: Q584 · Revision: 632

Type: software · License: MIT[^license] · Status: active

Website: https://react.email/



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\.[^intro][^render]

## 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\.[^intro][^render]

## 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\.[^cli][^render]

## 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\.[^tailwind]

## 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\.[^image]

## 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\.[^editor]

## 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\.[^license][^intro]

## Substitution considerations

React Email can replace [MJML](/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\.[^migration]

## Capabilities and substitutions

### HTML and text output — supported

Templates render to HTML and can be converted to plain text; actual delivery uses another integration\.[^intro][^render]

Use case: Creating reusable HTML email templates for application notifications and campaigns · Platforms: JavaScript, TypeScript, React, Node\.js · Region: Version, build and integration requirements apply

### Tailwind styling — limited

Email CSS compatibility differs from browsers; contexts inside Tailwind and typography prose have documented limitations\.[^tailwind]

Use case: Creating reusable HTML email templates for application notifications and campaigns · Platforms: JavaScript, TypeScript, React, Node\.js · Region: Version, build and integration requirements apply

### MJML template reuse — limited

Migration requires converting template and custom\-component source to React\.[^migration]

Use case: Creating reusable HTML email templates for application notifications and campaigns · Platforms: JavaScript, TypeScript, React, Node\.js · Region: Version, build and integration requirements apply

### [Substitute for MJML](/mjml) — limited

Can replace MJML's template authoring/rendering role for React\-based teams after rewriting components; not a lossless file converter or sending\-service replacement\.[^render][^migration]

Use case: Creating reusable HTML email templates for application notifications and campaigns · Platforms: JavaScript, TypeScript, React, Node\.js · Region: Version, build and integration requirements apply

## References

[^intro]: [React Email introduction](<https://react.email/docs/introduction>) — Component toolkit and provider integration (vendor; retrieved 2026-10-07T23:33:46Z)

[^render]: [React Email rendering utilities](<https://react.email/docs/utilities/render>) — HTML, plain text and browser rendering requirement (vendor; retrieved 2026-10-07T23:34:09Z)

[^cli]: [React Email CLI](<https://react.email/docs/cli>) — Preview build versus template export (vendor; retrieved 2026-10-07T23:34:17Z)

[^tailwind]: [React Email Tailwind component](<https://react.email/docs/components/tailwind>) — Pixel preset and known limitations (vendor; retrieved 2026-10-07T23:34:17Z)

[^migration]: [Migrating from MJML](<https://react.email/docs/getting-started/migrating-to-react-email>) — Template and custom\-component conversion (vendor; retrieved 2026-10-07T23:34:24Z)

[^editor]: [React Email Editor](<https://react.email/docs/editor/overview>) — Email\-aware nodes, exports and compilation limitation (vendor; retrieved 2026-10-07T23:34:31Z)

[^license]: [React Email license](<https://github.com/resend/react-email/blob/main/LICENSE.md>) — MIT permission and notice terms (vendor; retrieved 2026-10-07T23:34:23Z)

[^image]: [React Email image component](<https://react.email/docs/components/image>) — Alternative text and SVG support caveat (vendor; retrieved 2026-10-07T23:34:24Z)

Source revision: https://substitutefor.net/entities/Q584?revision=632
