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.

Top comments (1)
resend.com/