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
The easiest way to send an email is by using thehtml parameter.
server.ts
3. Try it yourself
Express (TypeScript)
Full Express app with TypeScript
Express (JavaScript)
Full Express app with JavaScript
Attachments
Send emails with file attachments
Templates
Send emails using Resend hosted templates
Scheduling
Schedule emails for future delivery
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