Skip to content
Kitbay
Skill1.1.0

react-email

MITUpdated on Nov 11, 202640,319GitHub stars

A skill credited to Resend, kept in Novu's repository, for building HTML emails as React components with the React Email library so they display correctly across email clients.

What the skill teaches

A skill credited to Resend, kept in Novu's repository, for building HTML emails as React components with the React Email library so they display correctly across email clients. It covers scaffolding a project or adding React Email to an existing one, the structural, content and code block components, and asking for brand colour, logo, tone and the image host before writing typed templates with preview props. Templates can be rendered to HTML or plain text and sent through any provider, with Resend as the example. Rules ask for inline styles unless the project uses Tailwind, pixel sizes, table layouts, no flexbox, grid, media queries, SVG or WEBP, absolute image URLs with alt text and a plain-text version.

Capabilities

  • Write email templates as React components
  • Render templates to HTML and plain text
  • Lay out emails that work across email clients
  • Send rendered emails through a provider