send_email
Send an email through Resend.
cctorequiredbccfromrequiredhtmltextsubjectrequiredreply_to
io.github.CloudCorpRecordsPublished by GitHub account CloudCorpRecordsv0.1.0Updated Nov 1, 2026
Send and manage email, domains, audiences, and API keys through the Resend API.
Local MCP server that lets an assistant send email and manage Resend domains, API keys, audiences and contacts through the Resend API.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Follow the launch instructions in the repository.
mailsend lets an agent run the sending side of a Resend account: send a message and look it back up, set up a sending domain and start its DNS verification, mint or retire API keys, and keep audiences and their contacts in order. Each operation is one call against the Resend REST API, and the API's JSON answer comes back as-is. It runs from the command line or as an MCP server for agents.
A Resend API key is required. Put it in the RESEND_API_KEY
environment variable; the key is sent to the API as a Bearer token and
never appears in output. When the variable is missing, every operation
fails with an error that names it.
Or run the container image:
The container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.
Exit codes: 0 on success, 1 when an API call fails (including a
missing RESEND_API_KEY), 2 for usage errors.
One bin serves both faces. The mcp subcommand starts a stdio MCP
server:
MCP client configuration:
This is a documented core subset of the Resend platform surface. The hosted Resend MCP also covers broadcasts, templates, webhooks, segments, topics, contact properties, batch sending, and received (inbound) email; those groups are not implemented here.
MIT — see LICENSE.
Source: README.md at commit 0b5eae0
Send an email through Resend.
cctorequiredbccfromrequiredhtmltextsubjectrequiredreply_toList emails sent through Resend.
limitGet one sent email by its ID.
idrequiredCreate a sending domain in Resend.
namerequiredregionList sending domains in Resend.
Takes no parameters.
Get one sending domain by its ID, including its DNS records.
idrequiredStart verification of a sending domain's DNS records.
idrequiredDelete a sending domain from Resend.
idrequiredCreate a Resend API key, optionally scoped to one domain.
namerequireddomain_idpermissionList Resend API keys.
Takes no parameters.
Delete a Resend API key.
idrequiredCreate an audience in Resend.
namerequiredList audiences in Resend.
Takes no parameters.
Add a contact to an audience in Resend.
emailrequiredlast_namefirst_nameaudience_idrequiredunsubscribedList contacts in an audience in Resend.
limitaudience_idrequired90% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
npx @reneturcios/mailsend list-domainsdocker run -i -e RESEND_API_KEY ghcr.io/cloudcorprecords/mailsendexport RESEND_API_KEY="your API key"
mailsend send --from "Acme <[email protected]>" --to [email protected] \ --subject "Welcome" --text "Hello there"mailsend list-emails --limit 10mailsend list-domainsmailsend list-audiences
mailsend --versionnpx -y @reneturcios/mailsend mcp{ "mcpServers": { "mailsend": { "command": "npx", "args": ["-y", "@reneturcios/mailsend", "mcp"], "env": { "RESEND_API_KEY": "your API key" } } }}npm installnpm run build # tsc -> dist/npm test # node test runner over test/*.test.ts, no network (fake fetch fixtures)npm run dev # run the CLI from source via tsx