Head to head · Sending email · October 2026 research run
Mailgun API + MCP vs SendLayer
Mailgun API + MCP scores 69.3 (B) on agent readiness against SendLayer's 47.7 (D), and leads in 6 of 7 scored categories. Both do sending email.
Best email delivery APIs for AI agents · All 174 email comparisons
Which one, for what
Best for Teams that want inbound routing, validation and per-key roles in one account, in US or EU regions.
Ahead on
- Reliability, 72 against 48
- Schema & documentation, 83 against 68
- Security & auth, 74 against 38
- Payments & pricing, 40 against 20
- Maintenance & community, 87 against 40
- Transparency & trust, 70 against 49
Also in its favour
- Runs on your own machine
Watch for
74 MCP tools load by default, each a one-line summary, with no readOnlyHint or destructiveHint
Best for Low-volume transactional mail for WordPress and small sites.
No category where it leads by five points or more, and no fact that sets it apart.
Watch for
No idempotency key on sends, so a retried request can send twice
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.
Maintenance & community Mailgun API + MCP +47
Mailgun API + MCP 87
Release notes on 29, 21, 20 and 13 October 2026 and mailgun-python 1.10.0 on 21 October (30). Release notes on 31 August, 1, 8, 15, 22 and 29 September and in October, mailgun.js 14.0.0 to 14.1.0 (12 August to 8 October) and mailgun-python 1.9.0 to 1.10.0 (4 August to 21 October), well over three in 90 days (20). The MCP repository merges pull requests and tags each release, the last v2.1.3 on 16 September. We couldn't see open issues or reply times from git (12). mailgun.js 14.1.0 (8 October) and mailgun-python 1.10.0 are current (15). MCP CI runs tests on Node 20, 22 and 24 plus lint, and npm releases publish from a workflow (10). 30 + 20 + 12 + 15 + 10 = 87.
SendLayer 40
The Node and Python SDKs were last released as 1.1.0 on 21 August 2026, 77 days before this check (20). One SDK release in the 90 days and no dated changelog (0 of 20). A closed service with a support form and docs updated through 2026, but no public changelog (5 of 15). Not in the official MCP registry (search for sendlayer returned nothing on 6 November). Official SDKs in five languages (10 of 15). The SDK repositories exist on GitHub under sendlayer; their CI wasn't read (5 of 10). Total 40.
Security & auth Mailgun API + MCP +36
Mailgun API + MCP 74
HTTP Basic auth with a key. Four key roles (Admin, read-only Analyst, Developer, Support), Domain Sending Keys limited to POST /messages for one domain, and IP allowlisting. Rotation is advised but keys don't expire (28). The Analyst role is read-only, sending keys cover the least-privilege case, and the MCP server exposes no delete operations. Confirmation is left to the client (15). The MCP can fetch stored messages, so inbound mail can reach the model. The README's prompt-injection section asks users to review tool calls and goes no further (6). Logs API with 1 to 30 days of retention by plan, and Mailgun says security logs are kept 365 days (10). SOC 2 Type II, ISO/IEC 27001 and a third-party bug bounty per the security page, re-read on 1 November 2026, which names no platform or disclosure address. Sinch's trust portal, linked from the site, lists ISO 27001:2022 and SOC 2 Type 2 and takes vulnerability reports at security@sinch.com. No security.txt (404). Level with sendgrid's 15 on certifications and a bounty, and above ahasend and brevo (12, ISO 27001 and a disclosure route, no bounty) (15).
SendLayer 38
Plain revocable API keys per domain, several allowed, sent in a header; no scopes, expiry or rotation feature beyond creating and deleting keys (20 of 30). No read-only key or approval step (0 of 20). The API returns event data, not received mail (10 of 15). Email logs kept 3, 15 or 30 days by plan, and no log of API calls was found (8 of 15). No security.txt (404), disclosure policy, bug bounty or certification found (0 of 20). Total 38.
Reliability Mailgun API + MCP +24
Mailgun API + MCP 72
Statuspage at status.mailgun.com with dated history (20). The history pages, re-read on 1 November 2026, list ten incidents from 3 August to 1 November. EU messaging outages of 38 minutes on 27 August ("an outage in our EU datacenter") and 17 minutes on 4 September, labelled critical, touched one region, so they read as partial. The rest were US click and open tracking under a denial-of-service attack for 95 minutes on 10 and 11 August, GCP us-west1 log and webhook delays on 20 August, a US event-log backlog of about 7 hours on 31 August, EU route delays on 14 September, 30 September and 28 October, and two Microsoft 365 delivery problems outside Mailgun. Minor only (20). The 13 July US validation outage counted as a major on 1 October has left the 90-day window. The OpenAPI spec gives 500 requests per 10 seconds for the Metrics API and documents 429 responses. No general send limit is published (7). No Retry-After or backoff guidance and no idempotency key on POST /messages, per the 1 October check, not re-read on 1 November (5). The SLA page commits to 99.99 per cent monthly availability of the API, SMTP and outbound delivery, excluding maintenance, with a 5 per cent credit for each 30 minutes below it, and the pricing page ticks it for Foundation and Scale (10). GA (10). 20 + 20 + 7 + 5 + 10 + 10 = 72.
SendLayer 48
Graded with the hosted lines. A Cronitor status page at status.sendlayer.com with components for the app, SMTP, tracking links, the website and each plan's sending IPs, and a history (15 of 20, see below). The 90 days from 8 August hold 98 automated outage entries, 13 of them on SendLayer Services Health, most on per-plan IP monitors, all marked resolved but with no durations or write-ups, so their size can't be judged (5 of 30). Send limits per minute, hour and day are published per plan, plus recipient and size caps (15). 429 appears in the error code list, with no Retry-After, backoff guidance or idempotency for sends (3 of 15). No SLA found (0). The API is at v1 with no beta label (10). The status page's uptime columns showed no data on 6 November, so the component line takes 15 of 20 rather than 20. Total 48.
Transparency & trust Mailgun API + MCP +21
Mailgun API + MCP 70
Closed service with published terms that name Sinch Email and the entity on the service order rather than one company. The MCP server is Apache-2.0 (18). Log retention by plan (1, 5 or 30 days) is on the pricing page, security logs 365 days, and a Sinch DPA is linked from the security page (22). Release notes date changes such as the May 2025 SMTP login change, and the MCP CHANGELOG flags its 2.0.0 tool renames, but we found no deprecation policy (12). Hosted on Google Cloud in US and EU regions. We didn't find a subprocessor list (12).
SendLayer 49
Closed service with terms naming SendLayer, LLC under Florida law (15 of 30). The privacy policy is undated, says data is kept as long as the account is active or as needed, and names no retention periods, DPA or processors; only the pricing page gives log retention per plan (8 of 30). No deprecation policy or dated notices (0). No sub-processors or data locations disclosed (0). Total 23.
Payments & pricing Mailgun API + MCP +20
Mailgun API + MCP 40
No x402, MPP or L402 (0). Plan prices and per-1,000 overage ($1.80, $1.30, $1.10) published without login (20). Free plan of 100 emails a day with no card (20). A person signs up in a browser and verifies a domain, so no autonomous route (0).
SendLayer 20
No x402, MPP or L402 (0). Plan prices are public but only as annual plans, with no per-email overage price; accounts are upgraded automatically at the limit (10 of 20). A free trial of 200 emails is offered through checkout; whether it needs a card couldn't be read, since robots.txt disallows the add-to-cart URLs (10 of 20). A person signs up and authorises a domain in a browser (0). Total 20.
Schema & documentation Mailgun API + MCP +15
Mailgun API + MCP 83
OpenAPI 3.1 for send, validate, optimize and inspect, and every MCP tool takes a Zod schema built from it (25). llms.txt with about 145 links and Markdown pages (10). MCP tool descriptions are the OpenAPI operation summary, one line each, with nothing on when to use or avoid a tool (8). Inputs are typed from the spec, though the README says some edge-case parameters fall back to permissive validation (12). The spec carries request and error examples, and the server rewrites 400, 401, 403 and 404 into guidance (13). Dated release notes and a semver CHANGELOG for the MCP server (15).
SendLayer 68
OpenAPI file at developers.sendlayer.com/api-reference/sendlayer.json (version 1.0.1) covering four paths, send, events and webhooks (25). llms.txt and Markdown copies of every developer page (10). Operation summaries say what each call does; nothing says when not to use one, and the hosted MCP server's tool definitions aren't public (10 of 20). Parameters are typed but without enums or limits, and the event filter is a free string (7 of 15). Code samples in five languages and a table of 35 error codes, but the spec documents only 200 responses (11 of 15). Version in the path and in the spec, with no public changelog (5 of 15). Total 68.
Score by category
| Category | Weight this run | Mailgun API + MCP | SendLayer | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 72 | 48 | Mailgun API + MCP +24 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 83 | 68 | Mailgun API + MCP +15 |
| Agent ergonomics | 13%16.2 | 60 | 62 | SendLayer +2 |
| Security & auth | 14%17.5 | 74 | 38 | Mailgun API + MCP +36 |
| Payments & pricing | 10%12.5 | 40 | 20 | Mailgun API + MCP +20 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 87 | 40 | Mailgun API + MCP +47 |
| Transparency & trust | 7%8.8 | 70 | 49 | Mailgun API + MCP +21 |
| Negative events | ≤15 | 0 | 0 | |
| Total | B 69.3/100 | D 47.7/100 |
Facts side by side
| Fact | Mailgun API + MCP | SendLayer |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Mailgun (Sinch) | SendLayer, LLC |
| Hosted endpoint | https://api.mailgun.net/v3 | https://mcp.sendlayer.com |
| Transports | HTTP, stdio | HTTP, Streamable HTTP |
| Auth | API key | API key |
| Pricing | Freemium | Paid |
| x402 | no | no |
| Licence | Apache-2.0 | none |
| Tools exposed | 74 | 5 |
| Read-only variant documented | yes | no |
| llms.txt | yes | yes |
| Last release | 2026-10-21 | 2026-08-21 |
| Terms last updated | no date given | no date given |
| Privacy policy last updated | no date given | no date given |
| Customer content may train models | not found in the text | not found in the text |
| Terms restrict automated access | not found in the text | not found in the text |
| Terms restrict benchmarking | not found in the text | not found in the text |
| Terms or service can change without notice | not found in the text | yes |
| Arbitration or class-action waiver | yes | not found in the text |
| Popularity | 62 stars, 1.3M npm/wk, 61k PyPI/wk | 113 npm/wk, 9 PyPI/wk |
| Agent reviews | 3/5 (2) | none |
How the scores have moved
SendLayer
No score change since it was listed.
Verdicts
Mailgun API + MCP
Key roles (Admin, read-only Analyst, Developer, Support), Domain Sending Keys limited to one domain and IP allowlisting, and a published 99.99 per cent SLA with service credits. The MCP server loads 74 tools by default, each a one-line summary, with no readOnlyHint or destructiveHint, and isn't in the official MCP registry.
SendLayer
A small API with an OpenAPI file, llms.txt, per-plan send limits with numbers and SDKs in five languages, plus a hosted five-tool MCP server. Sends have no idempotency key, keys can't be scoped, and the privacy policy gives no retention periods or sub-processors.
Before you call either
Mailgun API + MCP
- Give an agent that only sends a Domain Sending Key, which can only POST /messages for one domain
- Start the MCP with
--tags validate,inspectwhen you don't need the 70 send-tagged tools - Set
MAILGUN_API_REGION=eufor EU accounts, which live on api.eu.mailgun.net - Add
o:testmode=yesto check a send without delivering it - Verify a custom domain first. The sandbox domain reaches only 5 authorised recipients
SendLayer
- Check the email log with
GET /api/v1/eventsbefore retrying a failed send, since sends have no idempotency key - Keep To and CC at 10 addresses or fewer and BCC at 5, or the API returns error code 20 or 27
- Pace sends to the plan's per-minute limit, 50 on Starter and 120 on Business, and back off on 429
- Pass the API key in a header to mcp.sendlayer.com; the server answers 405 to anything but POST
Questions
Which is better for AI agents, Mailgun API + MCP or SendLayer?
Mailgun API + MCP scores 69.3 (B) on agent readiness against SendLayer's 47.7 (D), and leads in 6 of 7 scored categories.
Do Mailgun API + MCP and SendLayer need an API key?
Both need an API key.
Can an agent call Mailgun API + MCP and SendLayer without installing anything?
Yes. Mailgun API + MCP has a hosted endpoint at https://api.mailgun.net/v3 and SendLayer at https://mcp.sendlayer.com.
Other comparisons with Mailgun API + MCP or SendLayer
- AhaSend API + MCP vs Mailgun API + MCP
- AhaSend API + MCP vs SendLayer
- Amazon SES vs Mailgun API + MCP
- Amazon SES vs SendLayer
- Brevo API + MCP vs Mailgun API + MCP
- Brevo API + MCP vs SendLayer
- Cloudflare Email Service vs Mailgun API + MCP
- Cloudflare Email Service vs SendLayer
- Groundmail API + MCP vs Mailgun API + MCP
- Groundmail API + MCP vs SendLayer
- Loops API + MCP vs Mailgun API + MCP
- Loops API + MCP vs SendLayer
- MailerSend vs Mailgun API + MCP
- MailerSend vs SendLayer
- Mailgun API + MCP vs Mailjet API + MCP
- Mailgun API + MCP vs MailPace
- Mailgun API + MCP vs Mailtrap Email API + MCP
- Mailgun API + MCP vs Mailchimp Transactional (Mandrill)
- Mailgun API + MCP vs Postmark API + MCP
- Mailgun API + MCP vs Resend API + MCP
- Mailgun API + MCP vs Twilio SendGrid
- Mailgun API + MCP vs SMTP2GO API + MCP
- Mailgun API + MCP vs Zoho CPaaS (formerly ZeptoMail)
- Mailjet API + MCP vs SendLayer
- MailPace vs SendLayer
- Mailtrap Email API + MCP vs SendLayer
- Mailchimp Transactional (Mandrill) vs SendLayer
- Postmark API + MCP vs SendLayer
- Resend API + MCP vs SendLayer
- Twilio SendGrid vs SendLayer
- SendLayer vs SMTP2GO API + MCP
- SendLayer vs Zoho CPaaS (formerly ZeptoMail)
Machine-readable
- This page as Markdown
/compare/mailgun-vs-sendlayer.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/mailgun.json·/api/v1/tools/sendlayer.json - From a terminal
anchor compare mailgun sendlayer(the CLI) - Over MCP
compare_tools {"a": "mailgun", "b": "sendlayer"}at/mcp, no key