Prerequisites
To get the most out of this guide, you’ll need to:1. Install
Get the Resend Node.js SDK.2. Send email using HTML
Create a Resource Route underapp/routes/send.ts.
The easiest way to send an email is by using the html parameter.
3. Try it yourself
Send Email
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
Audiences
Manage contacts and audiences
Domains
Create and manage sending domains
Webhooks
Handle webhook events
Double Opt-in
Double opt-in subscription flow
Inbound
Receive and process inbound emails
Prevent Threading
Prevent email threading on Gmail