Home / Servers / Cloudflare API / email_sending_account_send_builder

Send an email

An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.

Send an email for the specified account using the structured builder. Provide the sender, recipients, subject… [POST /accounts/{account_id}/email/sending/send]

Name on the gateway: cloudflare_api__email_sending_account_send_builder · may change things.

Parameters

NameTypeDescription
account_id requiredstringaccount_id parameter
attachmentsarrayFile attachments and inline images.
bccobjectBlind carbon copy recipient(s). Optional. A…
ccobjectCarbon copy recipient(s). Optional. A single…
from requiredobjectSender email address. Either a plain string or…
headersobjectCustom email headers as key-value pairs.
htmlstringHTML body of the email. Provide at least one of…
reply_toobjectReply-to address. Either a plain string or an…
subject requiredstringEmail subject line.
text requiredstringPlain text body of the email. Provide at least…
to requiredobjectRecipient(s). Optional if cc or bcc is provided.…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "cloudflare_api__email_sending_account_send_builder",
  "arguments": {
    "account_id": "…",
    "from": "…",
    "subject": "…",
    "text": "…",
    "to": "…"
  }
}

Or connect the Cloudflare API server directly, which lists 3,127 tools including this one:

Run in your terminal
claude mcp add --transport http hj-cloudflare-api https://mcp.hjlabs.in/mcp/cloudflare-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the send an email tool with account_id set to ….

More from Cloudflare API