llms.txt
Compare with other sites' llms.txt files →# 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)