Send email with Resend
Resend was built by the same team that created React Email, which makes this our recommendation to send emails.
1. Install dependencies
Get the @react-email/components package and the Resend Node.js SDK.2. Create an email using React
Start by building your email template in a.jsx or .tsx file.
email.tsx
3. Send email
When integrating with other services, you need to convert your React template into HTML before sending. Resend takes care of that for you.
Set up Templates with Resend
Resend Templates are a great way to collaborate on emails with your team, even if they’re not technical. Upload a React Email Template to Resend and your entire team can collaborate in real-time in the visual editor. Here’s how to get started.1. Add your Resend API Key
First, sign up for a free Resend account. Next, set up the Resend integration using the React Email CLI:2. Upload a Template to Resend
Run React Email and visit the Resend tab of the toolbar, located at the bottom of the window. Choose Upload or Bulk Upload to import your Template to Resend. If you want to remove the Resend integration, runnpx react-email@latest resend reset.
Try it yourself
Resend example
See the full source code.