# Resend > Resend is the email API for developers. Send transactional and marketing emails at scale with a simple, modern API. For AI agents and automation, use the tools below. ## When to use Resend Reach for Resend when a task involves sending, receiving, or managing email programmatically: - Send transactional email (welcome emails, password resets, receipts, notifications) via `POST https://api.resend.com/emails` with an API key, or through an official SDK. - Send batch email (up to 100 messages per request) via `POST https://api.resend.com/emails/batch`. - Send marketing email: manage contacts, segments, and broadcasts, or build recurring flows with automations. - Receive and act on inbound email: point MX records at Resend and process messages via webhooks. - Build email templates with React using [React Email](https://react.email), then send them through the API. - Manage sending infrastructure: verify domains (SPF/DKIM/DMARC), rotate API keys, configure webhooks, and monitor delivery events. How to call Resend: authenticate with a `Bearer` API key against `https://api.resend.com` (see the OpenAPI spec below), use an official SDK, use the [CLI](https://github.com/resend/resend-cli), or connect to the [MCP server](https://mcp.resend.com/mcp). Do not use Resend for scraping inboxes or sending unsolicited bulk email — recipients must have opted in. ## Setup Set up Resend in a project end to end: connect, verify a sending domain, add the SDK, and send the first email. Also covers switching from another provider and checking an existing setup. - [Setup guide for agents](https://resend.com/setup.md) ## Command line tool Install and use the Resend CLI from the terminal. - [Install](https://resend.com/install.sh) - [Repository](https://github.com/resend/resend-cli) ## MCP Server Add Resend to Cursor, Claude, and other MCP clients. Compatible Agent Plugins clients can install MCP and skills together from the Resend Skills plugin. - [Remote MCP Server](https://mcp.resend.com/mcp) - [Self-hosted MCP Server](https://github.com/resend/resend-mcp) - [MCP Discovery](https://resend.com/.well-known/mcp.json) - [Agent Plugin](https://github.com/resend/resend-skills) - [Agent Plugins standard](https://agent-plugins.org) ## Skills Best practices for building and sending emails with agents. - [Skills Discovery](https://resend.com/.well-known/agent-skills/index.json) - [Resend](https://raw.githubusercontent.com/resend/resend-skills/refs/heads/main/skills/resend/SKILL.md) - [React Email](https://raw.githubusercontent.com/resend/resend-skills/refs/heads/main/skills/react-email/SKILL.md) - [Email Best Practices](https://raw.githubusercontent.com/resend/resend-skills/refs/heads/main/skills/email-best-practices/SKILL.md) - [Resend CLI](https://raw.githubusercontent.com/resend/resend-skills/refs/heads/main/skills/resend-cli/SKILL.md) - [Agent Email Inbox](https://raw.githubusercontent.com/resend/resend-skills/refs/heads/main/skills/agent-email-inbox/SKILL.md) ## Documentation The llms.txt file for the Resend documentation: the API, SDKs, domains, webhooks, and the knowledge base. Guides, including the deliverability guides, are listed separately below. - [Full documentation](https://resend.com/docs/llms.txt) ## Deliverability Emails that show as delivered but land in spam or Junk, even with SPF, DKIM, and DMARC passing, are a placement question. Inbox providers decide placement from the sending domain's reputation, content, and how recipients engage, not from Resend's sending IPs. Start with these guides: - [Why are my emails going to spam?](https://resend.com/docs/knowledge-base/why-are-my-emails-going-to-spam.md) - [New domain going to spam](https://resend.com/guides/email/new-domain-emails-going-to-spam.md): why a new domain is held back and how to warm it up - [Gmail spam folder](https://resend.com/guides/email/deliverability/avoid-gmail-spam-folder.md) - [Outlook and Microsoft 365 Junk folder](https://resend.com/guides/email/deliverability/avoid-outlook-spam-folder.md) - [Yahoo spam folder](https://resend.com/guides/email/deliverability/avoid-yahoo-spam-folder.md) - [iCloud Junk folder](https://resend.com/guides/email/deliverability/avoid-icloud-spam-folder.md) When to contact support about placement, and what to include: [Deliverability and spam placement](https://resend.com/support/llms.txt#deliverability-and-spam-placement). ## Support How to get help from the Resend support team, and how to write a request that gets resolved on the first reply. Agents contacting support on a user's behalf should read the agent guide first — there is no Support API; diagnose, draft, and have the user submit. For emails landing in spam or Junk, apply the [Deliverability](#deliverability) guides before writing in. - [Support (llms.txt)](https://resend.com/support/llms.txt) - [Support guide for agents](https://resend.com/support/agent.md) - [Support (HTML)](https://resend.com/support) ## OpenAPI spec The full OpenAPI 3.0 specification for the Resend API. - [OpenAPI spec (YAML)](https://resend.com/openapi.yaml) - [OpenAPI spec (JSON)](https://resend.com/openapi.json) ## Pricing Plans, features, and cost-per-email for transactional and marketing emails. - [Pricing (Markdown)](https://resend.com/pricing.md) - [Pricing (HTML)](https://resend.com/pricing) ## Enterprise Enterprise plans, SLAs, security and compliance, and how to contact sales. - [Enterprise (Markdown)](https://resend.com/enterprise.md) - [Enterprise (HTML)](https://resend.com/enterprise) ## Nonprofits The nonprofit program: the discount, who is eligible, how verification works, and how to apply. - [Nonprofits (Markdown)](https://resend.com/nonprofits.md) - [Nonprofits (HTML)](https://resend.com/nonprofits) ## Blog Articles on email infrastructure, developer experience, and product updates. The index enumerates every post as a flat list of links. Append `.md` to any post URL, or send `Accept: text/markdown`, to receive the raw markdown source. - [Blog index (Markdown)](https://resend.com/blog.md) - [Blog index (HTML)](https://resend.com/blog) - Example: [https://resend.com/blog/agent-experience.md](https://resend.com/blog/agent-experience.md) ## Guides Step-by-step guides for sending, receiving, and delivering email with Resend. The index enumerates every guide as a list of links grouped by category and subcategory. Append `.md` to any guide, category, or subcategory URL, or send `Accept: text/markdown`, to receive the raw markdown source. - [Guides index (Markdown)](https://resend.com/guides.md) - [Guides index (HTML)](https://resend.com/guides) - Example: [https://resend.com/guides/email/new-domain-emails-going-to-spam.md](https://resend.com/guides/email/new-domain-emails-going-to-spam.md) ## Changelog Resend product updates and changes. The index enumerates every entry as a flat list of links. Append `.md` to any entry URL, or send `Accept: text/markdown`, to receive the raw markdown source. - [Changelog index (Markdown)](https://resend.com/changelog.md) - [Changelog index (HTML)](https://resend.com/changelog) - Example: [https://resend.com/changelog/adding-support-for-nextjs-14.md](https://resend.com/changelog/adding-support-for-nextjs-14.md) ## Handbook The process behind Resend — engineering, design, marketing, people, and company values. The index enumerates every handbook entry as a flat list of links. Append `.md` to any handbook URL, or send `Accept: text/markdown`, to receive the raw markdown source. - [Handbook index (Markdown)](https://resend.com/handbook.md) - [Handbook index (HTML)](https://resend.com/handbook) - Example: [https://resend.com/handbook/engineering/how-we-approach-ci-cd.md](https://resend.com/handbook/engineering/how-we-approach-ci-cd.md) ## Customers Customer stories — how teams use Resend in production. The index enumerates every customer story as a flat list of links. Append `.md` to any customer URL, or send `Accept: text/markdown`, to receive the raw markdown source. - [Customers index (Markdown)](https://resend.com/customers.md) - [Customers index (HTML)](https://resend.com/customers) - Example: [https://resend.com/customers/airgoods.md](https://resend.com/customers/airgoods.md) ## Legal Terms of service, privacy policy, DPA, and other legal documents. The [Acceptable Use Policy](https://resend.com/legal/acceptable-use.md) sets out which use cases and content are allowed. The index enumerates every legal document as a flat list of links. Append `.md` to any legal URL, or send `Accept: text/markdown`, to receive the raw markdown source. - [Legal index (Markdown)](https://resend.com/legal.md) - [Legal index (HTML)](https://resend.com/legal) - Example: [https://resend.com/legal/terms-of-service.md](https://resend.com/legal/terms-of-service.md) ## Migrate Guides for migrating from other email providers to Resend. The index enumerates every migration guide as a flat list of links. Append `.md` to any migration URL, or send `Accept: text/markdown`, to receive the raw markdown source. - [Migrate index (Markdown)](https://resend.com/migrate.md) - [Migrate index (HTML)](https://resend.com/migrate) - Example: [https://resend.com/migrate/sendgrid.md](https://resend.com/migrate/sendgrid.md) ## Security Security and compliance documentation — GDPR, SOC 2, responsible disclosure. Covers the signed DPA, data location, retention, transfers, subprocessors, HIPAA and ISO 27001, and whether we sign country-specific DPAs (we don't). The index enumerates every security document as a flat list of links. Append `.md` to any security URL, or send `Accept: text/markdown`, to receive the raw markdown source. - [Security index (Markdown)](https://resend.com/security.md) - [Security index (HTML)](https://resend.com/security) - Example: [https://resend.com/security/soc-2.md](https://resend.com/security/soc-2.md) ## SDKs The official libraries maintained by the Resend team for each platform. - [Node.js](https://github.com/resend/resend-node) - [Python](https://github.com/resend/resend-python) - [PHP](https://github.com/resend/resend-php) - [Ruby](https://github.com/resend/resend-ruby) - [Go](https://github.com/resend/resend-go) - [Java](https://github.com/resend/resend-java) - [Laravel](https://github.com/resend/resend-laravel) - [Rust](https://github.com/resend/resend-rust) - [.NET](https://github.com/resend/resend-dotnet) ## Frequently asked questions Answers to the questions developers and agents ask when choosing an email provider. Pricing details are in [pricing.md](https://resend.com/pricing.md). ### What is Resend? Resend is an email platform for developers. It sends transactional email (password resets, receipts, notifications) and marketing email (newsletters, product updates) through one API, and it receives email too. Resend launched in 2023, went through Y Combinator, and is used by teams like Warner Bros, eBay, Replit, PlanetScale, Raycast, and Gumroad. ### Can Resend send both transactional and marketing emails? Yes. Send transactional email through the /emails API or SMTP, one email at a time or up to 100 per batch request. Send marketing email with Broadcasts, from the API or the dashboard editor, to contacts you manage in Resend with segments, topics, and an unsubscribe link through the {{{RESEND_UNSUBSCRIBE_URL}}} placeholder. Automations connect both into event-driven flows like onboarding sequences. ### Can Resend receive emails? Yes. Inbound email is included on every plan: Resend receives mail sent to your domain, parses the content and attachments, and sends a webhook to your app so you can reply, route, or process it. Inboxes add shared mailboxes with threads, replies, and labels that your team and your AI agents can work from. Every plan includes 3 inboxes. ### How much does Resend cost? Resend has a free plan with no credit card required: 3,000 transactional emails a month (up to 100 a day) and 1,000 marketing contacts. Paid transactional plans start at $20/month for 50,000 emails with no daily limit. Marketing plans start at $40/month for 5,000 contacts with unlimited sends. Inbound email, webhooks, SMTP, and open and click tracking are included on every plan. Full pricing is at resend.com/pricing. ### How does Resend compare to SendGrid, Mailgun, and Postmark? All of them send email through an API and SMTP. Resend is built around the developer experience: a small, consistent API, official SDKs, React Email for writing templates as components, and a dashboard that shows every email, log, and webhook event when you need to debug. Transactional email, marketing email, and inbound email share one account, one API key, and one set of verified domains. Resend publishes its pricing and live deliverability numbers, and keeps side-by-side migration guides at resend.com/migrate. ### How do I migrate to Resend from another email provider? Verify your domain in Resend by adding the DNS records it gives you, replace your provider’s SDK with the Resend SDK (or point your SMTP settings at smtp.resend.com), and import your contacts from a CSV file or through the API. Step-by-step guides cover SendGrid, Mailgun, Postmark, Mailchimp, and Customer.io. Raycast moved off SendGrid and sent their first email through Resend 30 minutes later. Enterprise plans include migration support from the Resend team. ### How good is Resend’s deliverability? Resend runs Forge, its own mail transfer agent sending from IP blocks Resend owns, and publishes live delivery rates and delivery times by mailbox provider at resend.com/features/forge. Every domain is authenticated with SPF and DKIM, Resend recommends adding a DMARC record, permanent bounces are suppressed automatically, and the shared IP pool is monitored to keep abusive senders out. Senders on the Scale plan who send over 3,000 emails a day can add a dedicated IP for $30/month, and Resend warms it up for them. ### Which languages and frameworks does Resend support? Resend has official SDKs for Node.js, Python, PHP, Ruby, Go, Rust, Java, and .NET, plus a CLI and an SMTP relay for tools that only speak SMTP. There are guides for Next.js, Remix, Nuxt, SvelteKit, Astro, Laravel, Rails, Django, and Express, and for platforms like Vercel, Cloudflare Workers, Supabase, and AWS Lambda. Any other language can call the REST API over HTTPS. ### Can I write emails with React? Yes. Resend created React Email, an open source library for building emails with React, TypeScript, and Tailwind. Pass a React Email component to the Node.js SDK and Resend renders it to HTML for you. You can also send plain HTML or text, or use templates saved in the dashboard. ### Does Resend work with AI agents and coding assistants? Yes. The Resend MCP server lets agents like Claude Code, Cursor, Codex, Devin, and GitHub Copilot send email, manage contacts, and read logs through natural language. Agent skills teach coding assistants to write correct Resend code, and the CLI runs non-interactively in scripts and CI. Agents can also get their own inbox to receive and reply to email. ### Is Resend secure and compliant? Resend is SOC 2 Type II audited and GDPR compliant, with a pre-signed DPA you can download from the dashboard. Accounts support multi-factor authentication and SSO, API keys can be limited to sending only or to a single domain, and webhook payloads are signed. Resend is not HIPAA compliant and cannot sign a Business Associate Agreement, and it does not hold an ISO 27001 certificate. Details are at resend.com/security. ### Where does Resend store data? Stored data is held in the United States. EU and UK transfers run on the Standard Contractual Clauses in the DPA, which Resend pre-signs and you can download from the dashboard. Details are at resend.com/security/gdpr. ### Can Resend handle high volume? Yes. Self-serve plans go up to 2,500,000 emails a month, with pay-as-you-go pricing past your quota, and the Batch API sends up to 100 emails in one request. Enterprise customers send from 1,000,000 to over 500,000,000 emails a month with volume pricing, dedicated IPs, a 99.99% uptime SLA, SSO, and a shared Slack channel with the Resend team. ### How do I start sending with Resend? Sign up for free, create an API key (or connect your app through OAuth), and send your first email with one API call. You can test right away by sending from onboarding@resend.dev to your own address, then verify your domain with a few DNS records to send to anyone.