Skip to main content

Email Templates

With Templates, you can define the structure and layout of a message once, then reuse it for multiple emails. Use Templates for transactional emails you send often, like:
  • Login/Auth
  • Onboarding
  • Ecommerce
  • Notifications
  • Automations

Template Features

With Resend’s Template features, you can: You can even embed the React Email editor in your own application to let your users create their own transactional emails from Templates and ship HTML-ready email content directly to Resend.

Choose your infrastructure

To create transactional email Templates, you can use a variety of tools:
  • Editor: create using Resend’s no-code editor
  • SDKs: create with an SDK built for your language
  • Integrations: create with a framework or tool you already use
  • API: create with raw cURL calls
  • CLI: create templates from the terminal
  • MCP: create through your agent with MCP
  • React Email: create from a React Email Template file
  • HTML: create from an HTML file

Send Emails with Templates

When you send a transactional email from your application, you can reference a published Template to use as your content instead of passing the HTML directly. Specify the Template ID and include any Template variables in your API endpoint or CLI command. Resend will replace the Template variables with the actual variables specified in your code.
See how to use Resend’s email Template features.

Create Templates

Editor

Template variables

Version history

React Email Templates

Embed Email Editor