Skip to content

resend

Use when sending emails with Resend — transactional emails, domain setup, React Email templates, or webhook handling. Also use when choosing an email service or integrating email into a web application.

ModelSource
sonnetpack: email
Full Reference

┏━ 🔧 resend ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Use when sending emails with Resend — transact… ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

Resend is a transactional email API built for developers. It provides a TypeScript-first SDK, domain verification via DNS, React Email template support, and webhook delivery events via Svix.

Install with npm install resend. Set RESEND_API_KEY from resend.com/api-keys.

FactValue
Installnpm install resend
API base URLhttps://api.resend.com
Rate limit2 req/s (all plans)
Batch limit100 emails per call
Schedule horizon72 hours max
Idempotency key TTL24 hours
Free tier3,000/mo · 100/day · 1 domain
Pro tier50,000/mo · unlimited/day · $20/mo
Key env varRESEND_API_KEY
Webhook secret env varRESEND_WEBHOOK_SECRET
Audience ID env varRESEND_AUDIENCE_ID
Docsresend.com/docs
Pricingresend.com/pricing
I want to…File
Install the SDK, initialize the client, and configure the API keyreference/setup.md
Send transactional emails with CC/BCC, tags, and schedulingreference/send.md
Send up to 100 emails in one API callreference/batch-send.md
Add file, URL, or inline image attachmentsreference/attachments.md
Handle delivery events and verify webhook signaturesreference/webhooks.md
Manage contacts and audiences for marketingreference/contacts.md
Handle errors, implement retry logic, and use idempotency keysreference/error-handling.md

Usage: Read the reference file matching your current task from the index above. Each file is self-contained with code examples and inline gotchas.