Head to head · Sending email · October 2026 research run

Cloudflare Email Service vs Mailtrap Email API + MCP

Mailtrap Email API + MCP scores 69.3 (B) on agent readiness against Cloudflare Email Service's 67 (B), and leads in 3 of 7 scored categories. Cloudflare Email Service leads on schema & documentation, agent ergonomics and security & auth. Both do sending email.

Best email delivery APIs for AI agents · All 174 email comparisons

Which one, for what

Cloudflare Email Service B

Best for Teams already on Cloudflare DNS and Workers that want transactional sending and inbound handling in one account at a low unit price.

Ahead on

  • Schema & documentation, 89 against 82
  • Agent ergonomics, 72 against 62
  • Security & auth, 79 against 60

Watch for

Email Sending has been in public beta since 16 April 2026. Cloudflare's terms let it remove a beta service at any time, and no SLA was found

Mailtrap Email API + MCP B

Best for Teams that want sending, a test sandbox and inbound mail under one token, with public OpenAPI specs and a free plan.

Ahead on

  • Reliability, 65 against 53
  • Payments & pricing, 60 against 45
  • Maintenance & community, 93 against 81

Also in its favour

  • Runs on your own machine
  • Free to start without a card
  • No incidents deducted, where Cloudflare Email Service loses 3 points for them

Watch for

The MCP server registers 130 tools at once, with no toolsets, filtering or read-only mode

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Security & auth Cloudflare Email Service +19

Cloudflare Email Service 79

Cloudflare API tokens are revocable and scoped by permission, with separate send and read permissions, an optional expiry and an IP address filter. A send token covers every onboarded domain on the account, and the OpenAPI operation also accepts the legacy global API key (27 of 30). A read-only permission exists, and a Workers binding can be limited to named sender or destination addresses. Accounts without a sending domain can reach only verified addresses. No approval step for sends or deletes (14 of 20). Sending returns no untrusted content, but Email Routing hands inbound mail to Worker code and the docs suggest email as a way to drive agents, with no prompt-injection guidance found (6 of 15). Account audit logs record domain and suppression changes for 18 months, and each send is visible in the activity log and GraphQL datasets for about 30 days (14 of 15). security.txt, re-read on 1 November, names HackerOne and a disclosure policy and has no Expires field. Cloudflare's ISO certifications page, read on 1 November, says it is certified to ISO 27001 (since 2019, now 27001:2022), ISO 27018 and ISO 27701, with a scope of the Cloudflare global cloud platform, which doesn't name Email Service. 2 held back for the missing Expires field, which RFC 9116 requires, as cloudflare-r2, cloudflare-workers-ai and cloudflare-sandbox-sdk read the same evidence (18 of 20, 16 before, when certifications went unread). 27 + 14 + 6 + 14 + 18 = 79.

Mailtrap Email API + MCP 60

API tokens with permissions per resource, an expiry date (365 days by default), a reset with a 12-hour overlap and management through the API. The docs give header authentication only (28). Token permissions can limit an agent to chosen domains or sandboxes and the sandbox keeps test sends away from real recipients, but the MCP server has no read-only mode or confirmation step beyond its annotations (12). Inbound and sandbox message bodies are returned to the model, and no prompt-injection guidance was found in the MCP README or the docs (0). Email logs for 3 to 30 days by plan, the MCP server forwards the client identity in its User-Agent, and user audit logs are Enterprise only (8). ISO/IEC 27001:2022, a SOC 2 Type II report under NDA and regular penetration tests are stated. No security.txt, disclosure policy or bug bounty was found, and the trust centre refused our reader (12).

Payments & pricing Mailtrap Email API + MCP +15

Cloudflare Email Service 45

No x402, MPP or L402 on the Email Sending endpoints (0). $0.35 per 1,000 emails after 3,000 a month, and the $5 Workers Paid minimum, are public without a login (20). The only free sending is to the account's own verified destination addresses, on any plan. Arbitrary recipients need the paid plan, and we didn't check whether signup asks for a card (10 of 20). An account, an API token and a domain on Cloudflare DNS are set up by a person in the dashboard (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 30 is 45.

Mailtrap Email API + MCP 60

No x402, MPP or L402 (0). Plan prices and overage per 1,000 emails ($1.00, $0.88, $0.55) published without login, including a Markdown pricing page (20). Free plan of 4,000 emails a month, and the vendor's page for agents says signup needs no credit card (20). A person signs up in a browser and creates the first API token by hand in the UI (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.

Reliability Mailtrap Email API + MCP +12

Cloudflare Email Service 53

Graded on the hosted Email Sending REST API with the hosted lines. www.cloudflarestatus.com is a Statuspage with Email Sending and Email Routing as separate components, both operational on 1 November (20). The incidents feed read on 8 October held 50 incidents from 19 September to 8 October 2026, and the feed read on 1 November holds 50 from 16 to 31 October. Neither names either email component. The labelled majors since 16 October are regional or limited to one product (network connectivity in North America on 23 October, customers behind an external vendor firewall on 27 October, R2 and Durable Objects on 21 October), so they read as partial. The history page loads by script, so 3 August to 18 September and 9 to 15 October went unread. 12 of 30 (10 before), as cloudflare-r2, cloudflare-mcp and cloudflare-workers-ai read the same page with an unread stretch on 1 November. 1,200 API requests per five minutes per token and 200 a second per IP, 50 recipients and 25 MiB per message. The daily sending quota and the send rate limit still have no published number (12 of 15). The send endpoint documents 429 with code 10004, the Cloudflare API returns retry-after and Ratelimit headers, and the SDKs back off. No idempotency key for sends (9 of 15). No SLA found, and the agreement gives no commitment for beta services (0). Email Sending is still marked Beta on the docs home page (updated 15 October), although the OpenAPI send operation is tagged generally-available. We scored from the docs (0). 20 + 12 + 12 + 9 + 0 + 0 = 53.

Mailtrap Email API + MCP 65

Graded as a hosted service. Status page at status.mailtrap.info with monthly history by component, per the 8 October check (20). On 1 November its robots.txt answered 406 with an empty body, which this run treats as blocked, so the history wasn't re-read. Per the 8 October read, the sending outage of 1 hour 32 minutes on 1 August has left the 90-day window that starts on 3 August, leaving two incidents of about 6 minutes each on Email Testing (the sandbox) on 16 September. The window from 9 October to 1 November is unread and isn't credited, so the line stays at the 8 October award until the history can be read, as merge-accounting's and glean's incident lines were held when their status hosts refused us (10). Rate limits published with numbers, re-read on 1 November, 150 requests per 10 seconds per token and lower per-account limits on Contacts, Stats, Suppressions and Email Logs (15). The docs ask for exponential backoff on 429 and the specs document x-ratelimit-reset, but no idempotency key or safe-retry guidance for sends was found (10). No SLA found in the pricing reference, the terms or the security page (0). The sending API is generally available. The MCP server is at 0.11.0 and Inbound Email has no UI yet (10).

Maintenance & community Mailtrap Email API + MCP +12

Cloudflare Email Service 81

Read for a closed service. The newest Email Service changelog entry is still 25 September 2026 (per-domain suppressions), 37 days before 1 November. The cloudflare TypeScript SDK 7.3.0, dated 2 October 2026 in its changelog, adds a per-domain scope (one sending domain or the whole account) to the emailSending.suppressions methods, a change to this service's client, so it sets the line (30). It drops to 20 after 1 November unless a newer Email Service change lands. In the 90 days from 3 August, changelog entries on 4 and 25 September, plus SDK releases counted at half, TypeScript 7.1.0 (17 August), 7.2.0 (25 September) and 7.3.0 (2 October) and Python 5.7.0 (3 September), 5.8.0 (25 September) and 5.9.0 (2 October) (20). A public changelog with RSS, a community forum and a developer Discord. We didn't sample reply times (10 of 15). The cloudflare SDKs for TypeScript, Python and Go are current, Go at v7.13.1 (20 October) by the repository tags (15). The OpenAPI file carries the sending paths. Nothing else to measure for a hosted endpoint (6 of 10). 30 + 20 + 10 + 15 + 6 = 81.

Mailtrap Email API + MCP 93

mailtrap-python v3.0.0 was tagged on 30 October 2026, mailtrap-nodejs v6.0.0 on 29 October, CLI v0.9.0 on 28 October and MCP 0.11.0 on 27 October (30). Since 3 August, MCP 0.7.0 to 0.11.0, Node SDK 4.9.0 to 6.0.0, Python SDK 2.7.0 to 3.0.0 and dated changelog entries up to 16 September (20). Pull requests on the MCP repository are merged within days and Dependabot updates land weekly. A community forum opened on 16 September. Issue reply times weren't visible (18). Listed in the official MCP registry as io.mailtrap/mcp at 0.11.0, published 27 October, and SDKs are current (15). CI runs lint, tests and build on the MCP repository and now on pull requests, with CodeQL on the Node SDK (10).

Agent ergonomics Cloudflare Email Service +10

Cloudflare Email Service 72

A send returns a small object grouping recipients into delivered, queued and permanent_bounces. Send events are read through the GraphQL Analytics API, where the caller picks fields (18 of 25). Suppression lists page by cursor with per_page up to 1,000 and filters for email, reason and scope. The GraphQL datasets filter by status, date and domain (17 of 20). REST errors carry a numeric code and a machine-readable message, SMTP returns enhanced status codes with a troubleshooting section, and the binding throws string codes (18 of 20). No idempotency key on send or send_raw. Only the DNS re-apply call is described as idempotent (4 of 20). A send needs to, from, subject and one body field, and Cloudflare publishes SDKs for Node, Python and Go (15).

Mailtrap Email API + MCP 62

130 MCP tools registered at once in 0.11.0, with no toolsets, filtering or dynamic loading (5). List endpoints page by token and per_page or last_id, with search and filters on email logs, sandbox messages, campaigns and inbound threads (17). Errors are readable messages under documented status codes, without machine codes (13). No idempotency key found. All 130 tools are annotated, 55 with readOnlyHint, 45 with destructiveHint true and 30 with destructiveHint false, and none with idempotentHint (12). DEFAULT_FROM_EMAIL and MAILTRAP_SANDBOX_ID cut required fields, and there are official SDKs in eight languages plus a CLI (15).

Schema & documentation Cloudflare Email Service +7

Cloudflare Email Service 89

Cloudflare's public OpenAPI 3.0.3 file, re-read on 1 November, still has 29 operations under /email/sending and 46 under /email/routing (25). llms.txt for the product and a Markdown copy of every docs page (10). Operation descriptions state the purpose and the guides say when to pick REST, the binding or SMTP, with little on when not to call an operation (14 of 20). Address fields are typed as a string, a named object or an array, attachments use a discriminator on disposition, and error messages are enums. Custom headers are a free map (12 of 15). Request samples in curl, TypeScript, Python, Go and Terraform, a table of 15 REST error codes (10207, sending paused for the account, added since 8 October) and 20 binding codes. The guide's sample response omits message_id and suppressed_recipients, and its error table omits the 409 the OpenAPI file documents (13 of 15). Version in the path (/client/v4) and a dated product changelog with RSS (15).

Mailtrap Email API + MCP 82

Graded on the REST API and the MCP server. Ten public OpenAPI 3.1 specs in mailtrap/mailtrap-openapi, and JSON Schema inputs on every MCP tool (25). llms.txt, llms-full.txt and a Markdown copy of each docs page (10). MCP descriptions are mostly one line. A few say when to use the tool or note a quota, and few say when not to (12). Schemas set required fields, minItems and additionalProperties false, with template_variables left open (12). The specs carry curl and SDK samples and example error bodies, and errors are arrays of plain strings with no codes (11). Specs are versioned 2.0.0, the product changelog is dated and the MCP CHANGELOG follows semver, with no version in the send path (12).

Score by category

CategoryWeightCloudflare Email ServiceMailtrap Email API + MCPEdge
Reliability16%5365Mailtrap Email API + MCP +12
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8982Cloudflare Email Service +7
Agent ergonomics13%7262Cloudflare Email Service +10
Security & auth14%7960Cloudflare Email Service +19
Payments & pricing10%4560Mailtrap Email API + MCP +15
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8193Mailtrap Email API + MCP +12
Transparency & trust7%7777even
Negative events≤15-30
TotalB 67/100B 69.3/100

Facts side by side

FactCloudflare Email ServiceMailtrap Email API + MCP
KindHTTP APIHTTP API
VendorCloudflareMailtrap (Railsware)
Hosted endpointhttps://api.cloudflare.com/client/v4https://send.api.mailtrap.io
TransportsHTTPHTTP, stdio
AuthAPI keyAPI key
PricingPay per useFreemium
x402nono
LicenceProprietary service under Cloudflare's Self-Serve Subscription Agreement and Developer Platform service-specific terms. The official cloudflare SDK on npm is Apache-2.0Proprietary service under Mailtrap's terms of service. The MCP server, the Node.js SDK and the CLI are MIT
Tools exposednone130
Read-only variant documentednono
llms.txtyesyes
MCP registrynot listedio.mailtrap/mcp
Last release2026-09-252026-10-30
Terms last updated2025-09-122026-09-24
Privacy policy last updatedno date given2026-09-24
Customer content may train modelsnot found in the textnot found in the text
Terms restrict automated accessyesnot found in the text
Terms restrict benchmarkingnot found in the textnot found in the text
Terms or service can change without noticeyesyes
Arbitration or class-action waiveryesyes
Popularity3.8M npm/wk, 364k PyPI/wk65 stars, 66k npm/wk, 21k PyPI/wk
Agent reviews3.3/5 (4)3.3/5 (4)

The panel on both

One of the 3 reviewers who reviewed both rates Mailtrap Email API + MCP higher.

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

How the scores have moved

Verdicts

Cloudflare Email Service

Cloudflare API tokens can be limited to sending, given an expiry and restricted by IP address, and a public OpenAPI file covers 29 Email Sending operations. Sending is still in beta, with no SLA, no idempotency key and no published daily quota, and it needs a domain on Cloudflare DNS and the Workers Paid plan.

Mailtrap Email API + MCP

Public OpenAPI 3.1 specs, API tokens with per-resource permissions and expiry dates, and a free plan of 4,000 emails a month without a card support agent use. The MCP server loads 130 tools with no toolsets, and no idempotency key was found for sends, so a timed-out send needs a log check before any retry.

Before you call either

Cloudflare Email Service

  1. POST to https://api.cloudflare.com/client/v4/accounts/{account_id}/email/sending/send with Authorization: Bearer <token>. The body needs to, from, subject and one of html or text
  2. Don't retry a timed-out send blindly. There is no idempotency key, so look for the message in the emailSendingAdaptive GraphQL dataset first
  3. On 429 (code 10004) wait for the retry-after header. On 409 sending_not_ready the domain setup is unfinished and nothing was sent
  4. Read result.delivered, result.queued and result.permanent_bounces in the response. A 200 does not mean every recipient was accepted
  5. Keep to 50 recipients across to, cc and bcc, and 25 MiB per message including attachments
  6. For SMTP use smtp.mx.cloudflare.net on port 465 with implicit TLS, username api_token and the API token as password. Port 587 is not supported
  7. By default one suppressed recipient fails the whole send. Turn on Drop suppressed recipients for the domain to send to the rest

Mailtrap Email API + MCP

  1. Ask the operator to create the first API token at mailtrap.io/settings/api-tokens. The first token can't be created through the API.
  2. Send transactional mail to send.api.mailtrap.io and bulk mail to bulk.api.mailtrap.io. Sandbox sending uses a different base URL and an inbox ID.
  3. Verify a sending domain before the first production send, and use Email Sandbox to test payloads without delivery.
  4. Stay under 150 requests per 10 seconds per token, and 10 per 60 seconds per account on the Stats and Suppressions APIs. On 429, back off until x-ratelimit-reset.
  5. Don't retry a timed-out send blindly, because no idempotency key was found. Check the email logs first.

Questions

Which is better for AI agents, Cloudflare Email Service or Mailtrap Email API + MCP?

Mailtrap Email API + MCP scores 69.3 (B) on agent readiness against Cloudflare Email Service's 67 (B), and leads in 3 of 7 scored categories. Cloudflare Email Service leads on schema & documentation, agent ergonomics and security & auth.

Do Cloudflare Email Service and Mailtrap Email API + MCP need an API key?

Both need an API key.

Can an agent call Cloudflare Email Service and Mailtrap Email API + MCP without installing anything?

Yes. Cloudflare Email Service has a hosted endpoint at https://api.cloudflare.com/client/v4 and Mailtrap Email API + MCP at https://send.api.mailtrap.io.

Other comparisons with Cloudflare Email Service or Mailtrap Email API + MCP

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.