React email
๐ Build and send emails using React
React Email The next generation of writing emails.High-quality, unstyled components for creating emails. The project is written primarily in TypeScript, distributed under the MIT License license, first published in 2022. It has gained significant community traction with 19,345 stars and 1,051 forks on GitHub. Key topics include: email, hacktoberfest.

Introduction
A collection of high-quality, unstyled components for creating beautiful emails using React and TypeScript.
It reduces the pain of coding responsive emails with dark mode support. It also takes care of inconsistencies between Gmail, Outlook, and other email clients for you.
Why
We believe that email is an extremely important medium for people to communicate. However, we need to stop developing emails like 2010, and rethink how email can be done in 2026 and beyond. Email development needs a revamp. A renovation. Modernized for the way we build web apps today.
Install
shnpm i react-email@latest
Getting started
Define your email template with React, include styles and our components where needed.
jsximport { Button } from "react-email"; export default function Email() { return ( <Button href="https://example.com" style={{ color: "#61dafb" }}> Click me </Button> ); };
Components
A set of standard components to help you build amazing emails without having to deal with the mess of creating table-based layouts and maintaining archaic markup.
- Html
- Head
- Button
- Container
- CodeBlock
- CodeInline
- Column
- Row
- Font
- Heading
- Divider
- Image
- Link
- Markdown
- Preview
- Section
- Tailwind
- Paragraph
- Body
Editor
React Email also provides an Editor built on top of TipTap and ProseMirror, It serializes to React Email components, and exports email-ready HTML and plain text.
See the Editor documentation for more details.
Integrations
Emails built with React Email can be converted into HTML and sent using any email service provider. Here are some examples:
- Resend
- Nodemailer
- SendGrid
- MailerSend
- Mailgun
- Postmark
- AWS SES
- Azure Communication Email
- Plunk
- Scaleway
Support
All components were tested using the most popular email clients.
| <img src="https://react.email/static/icons/gmail.svg" width="48px" height="48px" alt="Gmail logo"> | <img src="https://react.email/static/icons/apple-mail.svg" width="48px" height="48px" alt="Apple Mail"> | <img src="https://react.email/static/icons/outlook.svg" width="48px" height="48px" alt="Outlook logo"> | <img src="https://react.email/static/icons/yahoo-mail.svg" width="48px" height="48px" alt="Yahoo! Mail logo"> | <img src="https://react.email/static/icons/hey.svg" width="48px" height="48px" alt="HEY logo"> | <img src="https://react.email/static/icons/superhuman.svg" width="48px" height="48px" alt="Superhuman logo"> |
|---|---|---|---|---|---|
| Gmail โ | Apple Mail โ | Outlook โ | Yahoo! Mail โ | HEY โ | Superhuman โ |
Development workflow
Contributing
Brought to you by Resend, MIT License.
Contributors
Showing top 12 contributors by commit count.
