send_email
Send an email through Resend.
ccto必填bccfrom必填htmltextsubject必填reply_to
io.github.CloudCorpRecords由 GitHub 账号 CloudCorpRecords 发布v0.1.0更新于 Nov 1, 2026
Send and manage email, domains, audiences, and API keys through the Resend API.
本地 MCP 服务器,让助手通过 Resend API 发送邮件,并管理 Resend 的域名、API 密钥、受众和联系人。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
参照 仓库 中的启动说明。
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.
来源:README.md,提交 0b5eae0
Send an email through Resend.
ccto必填bccfrom必填htmltextsubject必填reply_toList emails sent through Resend.
limitGet one sent email by its ID.
id必填Create a sending domain in Resend.
name必填regionList sending domains in Resend.
无需输入参数。
Get one sending domain by its ID, including its DNS records.
id必填Start verification of a sending domain's DNS records.
id必填Delete a sending domain from Resend.
id必填Create a Resend API key, optionally scoped to one domain.
name必填domain_idpermissionList Resend API keys.
无需输入参数。
Delete a Resend API key.
id必填Create an audience in Resend.
name必填List audiences in Resend.
无需输入参数。
Add a contact to an audience in Resend.
email必填last_namefirst_nameaudience_id必填unsubscribedList contacts in an audience in Resend.
limitaudience_id必填已满足适用检查项的 90%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
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