by Resend
Send an email
Sends one email from a verified domain to up to 50 recipients, now or at a scheduled time, and returns its ID.
Updated Sep 29, 2026
send-email.md
Send an email
Sends one email from a verified domain to up to 50 recipients, now or at a scheduled time, and returns its ID.
Note: Pass an Idempotency-Key header (--idempotency-key on the CLI) so a retry never sends it twice; keys expire after 24 hours.
Set up
Use the first option your agent supports.
MCP (official, remote)
Add this server to your agent's MCP settings, then sign in when asked.
{ "mcpServers": { "resend": { "url": "https://mcp.resend.com/mcp" } } }
Call the MCP tool send-email.
Server URL: https://mcp.resend.com/mcp
CLI (official)
Install the command, then confirm it runs.
npm install -g resend-cli
resend --version
Run resend emails send.
Set $RESEND_API_KEY in your environment first (get a key: https://resend.com/api-keys).
API (official)
- Base URL: https://api.resend.com
- Endpoint:
POST /emails - Auth: send the header
Authorization: Bearer $RESEND_API_KEY - Get a key: https://resend.com/api-keys
- Docs: https://resend.com/docs/api-reference/introduction
Before anything else, confirm access with the cheapest read-only call, like a list or a search. Never send or change anything to test access.
Rules
- Ask the user before anything that sends messages, costs money, or changes data, and say how many records it touches. One approval covers a batch the user has seen.
- Never print API keys.
Ways in
Workflows using Send an email
TContributed by thedogwiththedataonitWin back canceled customers with an offer for why they leftReads why each Stripe subscription was canceled, sorts the reason with Jev, and emails a win-back offer that fits it with Resend.
S
T
R
TContributed by thedogwiththedataonitInvite NPS promoters with specific praise to a case studyPulls 9s and 10s from your Typeform NPS survey, picks promoters whose praise names a result with Jev, and emails each a case-study invite.
T
T
R
TContributed by thedogwiththedataonitRecover failed payments before the subscription cancelsFinds past-due Stripe subscriptions, emails each customer a link to pay with Resend, and posts the largest amounts to Slack.
S
R
S