Prerequisites
To get the most out of this guide, you’ll need to:1. Install
Get the Resend Node.js SDK.2. Create an email template
Start by creating your email template onemails/email-template.tsx.
emails/email-template.tsx
tsconfig.json.
tsconfig.json
3. Send email using React
Create a new fileindex.tsx and send your first email.
index.tsx
4. Try it yourself
Basic Send
Basic email sending
Attachments
Send emails with file attachments
Inline Images (CID)
Embed inline images using CID
Templates
Send emails using Resend hosted templates
Scheduling
Schedule emails for future delivery
Prevent Threading
Prevent email threading on Gmail
Audiences
Manage contacts and audiences
Domains
Create and manage sending domains
Inbound Webhooks
Receive and process inbound emails
Double Opt-in
Double opt-in subscription flow