Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
oakoss avatar

React Email

  • 81 installs
  • 14 repo stars
  • Updated March 2, 2026
  • oakoss/agent-skills

Helps with frontend development tasks during AI-assisted development.

About

react-email is a Claude Code skill for frontend development. It helps solo builders move faster with AI-assisted coding.

  • react-email
  • Frontend Development
  • AI-coding skill

React Email by the numbers

  • 81 all-time installs (skills.sh)
  • +5 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #1,104 of 2,245 Frontend Development skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/oakoss/agent-skills --skill react-email

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs81
repo stars14
Last updatedMarch 2, 2026
Repositoryoakoss/agent-skills

What it does

Helps with frontend development tasks during AI-assisted development.

Files

SKILL.mdMarkdownGitHub ↗

React Email

Overview

React Email is a library for building responsive HTML emails using React components. It provides a set of unstyled, accessible components that render to email-client-compatible HTML. Supports inline styles, Tailwind CSS via a wrapper component, custom web fonts, and rendering to both HTML and plain text.

When to use: Transactional emails (welcome, password reset, receipts), marketing templates, email design systems, any project that renders emails server-side.

When NOT to use: Static HTML email templates with no dynamic content, projects that already use a dedicated email builder (MJML, Maizzle), or when you only need plain-text emails.

Quick Reference

PatternAPIKey Points
Document structureHtml, Head, BodyHtml wraps everything, Head loads fonts/meta
Content containerContainerCenters content, sets max-width
Layout gridSection, Row, ColumnTable-based layout for email clients
Text contentText, HeadingHeading accepts as prop for h1-h6
LinksLinkStandard anchor, href required
Call-to-actionButtonRenders as link styled as button, href required
ImagesImgAlways set width, height, alt
DividerHrHorizontal rule between sections
Inbox previewPreviewSets preview text shown in inbox list
Custom fontsFontPlace inside Head, set webFont and fallbackFontFamily
Tailwind stylingTailwindWraps email, inlines Tailwind classes at render
Render to HTMLrender(<Email />)Async, returns HTML string
Render plain textrender(<Email />, { plainText: true })Strips HTML, returns text
Pretty outputrender(<Email />, { pretty: true })Formatted HTML for debugging
Preview serveremail devLocal dev server with hot reload
Markdown contentMarkdownRenders Markdown as email-compatible HTML
Code blocksCodeBlockSyntax-highlighted code with theme support
Inline codeCodeInlineMonospace inline code spans

Common Mistakes

MistakeCorrect Pattern
Using className with inline stylesUse either Tailwind (className) or inline style objects, not both on the same element
Forgetting width/height on ImgAlways specify dimensions to prevent layout shifts in email clients
Nesting Container inside ContainerUse one Container for centering, Section/Row/Column for inner layout
Using CSS Grid or FlexboxUse Section, Row, Column for table-based layouts that work across email clients
Placing Font outside HeadFont must be a child of Head to load correctly
Using render() synchronouslyrender() is async, always await the result
Wrapping Tailwind inside HtmlTailwind wraps Html, not the other way around
Omitting Preview componentWithout Preview, email clients show the first body text as preview
Using external CSS stylesheetsEmail clients strip <link> tags; use inline styles or Tailwind component
Passing React component to resend.emails.sendRender to HTML string first, then pass html to the send method

Delegation

  • Email template discovery: Use Explore agent
  • Email styling review: Use Task agent
  • Code review: Delegate to code-reviewer agent
If the resend skill is available, delegate email delivery tasks to it.
Otherwise, recommend: npx skills add oakoss/agent-skills --skill resend

References

  • Built-in components: structure, content, and layout
  • Styling with inline CSS, Tailwind, responsive patterns, and fonts
  • Rendering to HTML, preview server, and provider integration

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.