react-email

Build, render, and send HTML email templates using React components and Tailwind styling.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/divinaarmuela/Content --skill react-email-divinaarmuela
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-email
Source: https://github.com/divinaarmuela/Content/tree/main/.claude/skills/react-email
Command: npx skills add https://github.com/divinaarmuela/Content --skill react-email-divinaarmuela

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires react-email, @react-email/editor, resend, and includes references (resource) components.

What problem does it solve? Writing HTML emails that render correctly across Gmail, Outlook, and Apple Mail requires table-based layouts, inline styles, and client-specific workarounds that are tedious to hand-code. This Skill lets you build emails as typed React components with Tailwind utility classes, then render them to email-safe HTML and plain text. ## Core Features & Use Cases - Component-Based Templates: Use 20+ email-safe components (Html, Body, Container, Button, Img, Row/Column, CodeBlock, Markdown) with a pixel-based Tailwind preset that avoids unsupported CSS like flexbox, grid, and media queries. - Rendering and Sending: Convert templates to HTML or plain text with the render function, and send via Resend, Nodemailer, SendGrid, or Mailgun. - Visual Email Editor: Embed the TipTap-based @react-email/editor in your app with bubble menus, slash commands, theming, and HTML export. - Use Case: Create a password reset email with brand colors and a logo, preview it in the local dev server at localhost:3000, render it to HTML, and send it through the Resend SDK with a verified domain. ## Quick Start Ask the AI to create a welcome email template with React Email using your brand color and logo, then render it to HTML and send a test email with Resend.

Frequently Asked Questions about react-email

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an HTML email template with React components?

Install react-email, create a component in an emails folder using Html, Body, Container, and Text components wrapped in the Tailwind component with pixelBasedPreset. Run the dev server with email dev to preview templates at localhost:3000.

How do I send a React Email template with Resend?

Pass the React component directly to the Resend Node SDK's send method using the react property. The SDK automatically renders both HTML and plain-text versions. Use a verified domain in the from address.

Can I use Tailwind CSS in email templates?

Yes, the Tailwind component converts utility classes to inline styles compatible with email clients. Always use pixelBasedPreset since email clients do not support rem units, and avoid responsive prefixes like sm: or md: which have limited client support.

Why can't I use flexbox or grid in email templates?

Major email clients like Outlook do not support flexbox or CSS grid. Use the Row and Column components or table-based layouts instead, which render reliably across Gmail, Outlook, Apple Mail, and Yahoo Mail.

Does React Email support multiple languages?

Yes, React Email works with next-intl, react-i18next, and react-intl. Pass a locale prop to your template, set the Html lang and dir attributes, and load translated message files per locale, including RTL support for Arabic and Hebrew.

What image formats work in HTML emails?

Use PNG or JPEG images only, hosted on a CDN with absolute URLs. SVG and WEBP are not reliably supported by email clients. For local development, place images in the emails/static folder and switch the base URL by environment.