Trotta Mail vs Mailgun: a Mailgun alternative for AI agents that receive mail
Pick Mailgun to send at volume, with routes that forward or briefly store incoming mail and an optional spam filter. Pick Trotta Mail when an AI agent must receive and answer mail: it gets a stored inbox, every message is screened before it is accepted, and risky mail is held for a human.
Updated
Mailgun is an email API built to send. For incoming mail it offers routes: a filter and an action for each message. This comparison was checked against Mailgun's own docs and pricing page on November 20, 2026.
Trotta Mail and Mailgun side by side
| Trotta Mail | Mailgun | |
|---|---|---|
| Built for | AI agents and humans reading and answering mail. The guard is stricter for an agent. | Sending from applications. Routes hand incoming mail to your code or another address. |
| When incoming mail is screened | While the sending server is still connected, before the message is accepted. | An optional spam filter, off by default: delete spam, or mark it with headers. DKIM and SPF results for incoming mail. Malware scanning: not found in their public docs. |
| What an agent can read while a verdict is pending | Nothing. A message is readable only after its verdict, and an agent reads the safe view. | Whatever the route posts to your URL, with a spam flag and score if the filter marks mail. |
| Held mail and human review | Held outside the inbox. An agent's key sees a verdict, no content. A human releases it. | The store action keeps a message for up to 3 days for retrieval. Holding risky mail for review: not found in their public docs. |
| Outgoing checks | Screened for secrets, sensitive data and replies steered to a new address. Each key and connected app is set to ask, off or auto. | Content checks of outgoing mail for secrets: not found in their public docs. |
| Sign-in codes kept from agents | Sealed from every API key in a human's mailbox. Parsed for the agent in its own inbox. | Not found in their public docs. |
| MCP and SDKs | An MCP server (API key or OAuth sign-in), a REST API, and TypeScript and Python SDKs. | A local MCP server for managing the account, including inbound routing rules. SDKs for Go, Java, Node.js, PHP, Python and Ruby. |
| Own domains | Paid plans only: 3 on Developer, 25 on Startup. | 1 sending domain on Free and Basic, 1,000 on Foundation and Scale. |
| IMAP and SMTP access | Neither. Humans use the browser. Agents use the API, MCP and SDKs. | SMTP for sending. IMAP: not found in their public docs. |
| Price to start | Free: $0, 2 inboxes, 1,000 emails a month, 50 sends a day. | Free: $0, 100 emails a day, 1 inbound route. |
| Plans as listed | Developer $20 a month: 5 inboxes, 5,000 emails, 500 sends a day. Startup $200 a month: 50 inboxes, 50,000 emails, 5,000 sends a day. Enterprise: custom. | Basic from $15 a month: 10,000 emails, 5 inbound routes. Foundation $35 a month: 50,000 emails. Scale $90 a month: 100,000 emails, with single sign-on. |
Mailgun prices are as listed on their pricing page on 2026-11-20. Trotta Mail's paid plans are $192 and $1,920 a year when paid yearly.
How Mailgun inbound routes work
A Mailgun route is a filter and an action. Each incoming message is checked against routes in priority order, and a matching route runs its action.
- Forward sends the message to another address or posts it to a URL. The post includes
stripped-text, the reply without quoted parts or signature, when parsing succeeds. - Store keeps the message on Mailgun's servers for up to 3 days, to retrieve later.
- Stop ends the evaluation, so later routes do not run.
- Retries. If your URL fails, Mailgun retries for 8 hours. A 406 answer is not retried.
- Spam filter. Off by default. Turned on, it deletes spam or marks it with
X-Mailgun-Sflagand a score.
So a long-lived mailbox, threads, screening for an AI reader and holding risky mail are left to your code.
Where Mailgun is the better choice
- Sending at volume. Mailgun's Scale plan lists 100,000 emails a month for $90. Trotta Mail is not a bulk sender: sends are capped at 5,000 a day on Startup.
- Many sending domains. Foundation and Scale list 1,000. Trotta Mail's Startup plan has 25.
- Flexible routing. Routes can match, forward, store and post incoming mail in one rule set.
- Dedicated IP pools on Scale. Trotta Mail lists dedicated sending IPs on Enterprise only.
- SMTP and SDKs. SMTP for software that only speaks SMTP, and SDKs in six languages.
Where Trotta Mail is the better choice
- The agent needs an inbox. Each message is stored, threaded and screened before the agent reads it.
- Strangers write to the agent. Mail is screened for text written to hijack a model, phishing and disguised attachments, on every plan, with nothing to turn on.
- Risky mail must wait for a human. Dangerous mail is held outside the inbox. An agent's key cannot read or release it.
- The agent sends on its own. Outgoing mail is screened for secrets and sensitive data, and each connection can be set to ask before every email, drafts only, or send.
- Sign-in codes. Codes are parsed for the agent in its own inbox, and sealed from every key in a human's mailbox.
No filter catches everything, Trotta Mail included. A reworded scam with no technical tell can still be delivered, which is why uncertain mail is held for a human.
Switching from Mailgun
Keep Mailgun for product mail and move the receiving side to an agent inbox.
- Create an inbox for each agent with one call. It returns an address and an API key.
- Replace the route that forwards to your URL with a Trotta Mail webhook, live events or the
waitcall. The safe view already leaves out hidden text, andextracted_textis the new part of a reply. - Reply in the thread with
POST /v1/messages/{id}/reply. Outgoing mail is screened before it leaves. - On a paid plan, connect the domain or subdomain your routes receive for today. Its MX record moves to Trotta Mail. Mailgun can keep sending from your main domain.
Mailgun is a trademark of its owner. This page is Trotta Mail's own comparison, based on Mailgun's public documentation as of November 20, 2026.
Questions
Is Trotta Mail a Mailgun alternative?
For receiving and answering mail as an AI agent, yes. For bulk sending, no: Trotta Mail caps sends by plan, from 50 a day on Free to 5,000 on Startup.
How long does Mailgun store incoming email?
Mailgun's route actions page says the store action keeps a message for up to 3 days. Its pricing page lists message retention by plan.
Does Mailgun filter incoming spam?
Optionally, set in the Domains tab. The filter is off by default, and when turned on it deletes spam or marks it with headers and a score.
Can I use Mailgun and Trotta Mail together?
Yes. Send product mail through Mailgun, and give each agent a Trotta Mail inbox for the mail it must read and answer.
Sources
- Mailgun docs: Receiving, forwarding and storing messages
- Mailgun docs: Routes
- Mailgun docs: Route actions
- Mailgun docs: Receiving messages over HTTP
- Mailgun docs: Spam filter
- Mailgun docs: FAQ, receiving
- Mailgun docs: MCP server
- Mailgun docs index (SDK reference)
- Mailgun docs: Send via SMTP
- Mailgun pricing
- Trotta Mail API summary for agents
- Trotta Mail docs: plans and limits, security model, domains