Need to add email to your web app?
Resend lets you send, receive, track, and manage emails through a simple developer-friendly API.
What can you do with it?
📨 Transactional emails Verification, password reset, invitations, notifications, and more.
🎨 React Email Build email templates with React and TypeScript instead of dealing with messy email HTML.
📅 Scheduling & batch sending Schedule emails or send batches through the API.
📎 Attachments Send files with your emails.
🔔 Webhooks Receive events for deliveries, bounces, opens, clicks, and other email activity.
📥** Inbound emails** Receive emails in your application and process their content and attachments.
👥 Audiences & broadcasts Manage contacts and send email campaigns with analytics.
📊 Logs & analytics Monitor email activity and troubleshoot delivery issues.
🔐 Custom domains Send from your own domain with SPF, DKIM, and DMARC authentication.
🔁 Idempotency Prevent duplicate emails when requests are retried.
How to set it up
1. Create a Resend account Create your account and generate an API key.
- Add your domain Add your domain in Resend and configure the required DNS records for email authentication.
3. Add the API key
RESEND_API_KEY=re_xxxxxxxxx
Keep it server-side. Never expose the API key in client-side code.
4. Install the SDK
npm install resend
- Send your first email
Article content
With Next.js, you can call Resend from a Route Handler or Server Action, keeping the API key on the server.
That's basically it.
If you're building with Next.js, React, Node.js, or TypeScript, Resend is definitely worth checking out.














