# coss.com vs Mailgun (https://coss.com/compare/mailgun)

> Mailgun is a sending API with flexible inbound routes and deliverability add-ons. coss.com adds marketing email, agent inboxes and logs on every plan.

Mailgun's plans scale log retention, inbound routes and dedicated IPs with the tier, and sell validation and inbox placement testing alongside. coss.com includes receiving, logs and marketing email on every plan and prices sending per recipient.

Facts about Mailgun checked on 2026-10-30 against the sources listed below.

## At a glance

| | coss.com | Mailgun |
| --- | --- | --- |
| Pricing model | Per recipient, with no volume tiers to pick: $0.40 per 1,000 recipients for the first 1,000,000; $0.30 per 1,000 recipients from 1,000,001 to 10,000,000; $0.22 per 1,000 recipients beyond 10,000,000. Paid plans start at $25/month, all of it spendable on usage | Basic from $15/month for 10,000 emails, Foundation $35/month for 50,000, Scale $90/month for 100,000; extra emails from $1.80, $1.30 or $1.10 per 1,000 |
| Free tier | Free plan: 3,000 email recipients a month, 3,000 received emails a month and 3 inboxes; 1 sending domain | 100 emails a day, 1 domain, 1 inbound route, 1 day of logs |
| Transactional email | REST API and an SMTP relay (smtp.coss.com), batch and scheduled sends, idempotency keys, templates with versions and locales | REST API and SMTP relay on every plan; a template builder from Foundation |
| Receiving email | Every environment has its own address under coss.com's inbound domain, or receive at your own domain with one MX record; an email.received webhook, content and attachments through the API | Inbound routes: forward, post to a URL or store temporarily; 1 route on Free, 5 on Basic, full routing from Foundation |
| Marketing email | Contacts with custom properties, audiences, segments, topics with a hosted preference center and double opt-in, broadcasts on a separate marketing stream | No campaign or newsletter builder on its pricing page |
| Multi-tenant sending | Sub-accounts on Scale and Enterprise: each with its own domains, SES tenant, reputation, quotas and suppression list (transactional email) | Subaccounts with their own domains, IPs and API keys; usage billed with the primary account |
| Dedicated IPs | An add-on on Scale and Enterprise: Amazon SES managed dedicated IPs, warmed up automatically | One included at Foundation 100k and on Scale, more at $59/IP/month; IP pools on Scale |
| Logs | Every API request, email event and webhook attempt of an environment, searchable and exportable; log drains on Scale and Enterprise | 1 day on Free and Basic, 5 days on Foundation, 30 days on Scale |
| Webhooks | Standard Webhooks signatures, automatic retries, test events and `coss listen` to forward events to localhost | HMAC-SHA256 of a timestamp and token, keyed with a webhook signing key |
| SDKs | TypeScript, plus generated SDKs for Python, Go, Ruby, PHP, Java and .NET; Laravel, Rails and Django mail drivers; a CLI and an MCP server | Go, Node.js, PHP, Java, Ruby and Python |
| Other channels | SMS, Verify (one-time codes), Hooks (webhooks as a service) and Risk on the same API key and SDK | Email |

## When Mailgun is the better choice

- **Address validation and inbox placement.** Mailgun sells email validations (5,000 included on Scale) and, through Mailgun Optimize, inbox placement tests and reputation monitoring.
- **Programmable inbound routes.** Mailgun's routes filter incoming mail and forward it, post it to a URL or store it, rule by rule.
- **Several IP pools.** Mailgun's Scale plan has dedicated IP pools. coss.com has one managed pool per organization.

## When coss.com is the better choice

- **Marketing email included.** Contacts, audiences, segments, topics with a preference center and broadcasts, on a marketing stream with its own reputation.
- **Logs from day one.** Every plan gets the environment log: API requests, email events and webhook attempts, searchable and exportable.
- **Inboxes for agents.** Give an AI agent its own address: received mail is kept as threads and the agent replies from the same address.
- **Sub-accounts with their own reputation.** Each coss.com sub-account has its own SES tenant, reputation and quotas, so a customer's bounces and complaints pause only that sub-account.

## Moving from Mailgun

1. **Add and verify your domains.** Add each sending domain in coss.com and publish its DNS records; Domain Connect sets them up in one click where your DNS provider supports it. (/docs/email/domains)
2. **Bring over suppressions and contacts.** Export bounces, complaints and unsubscribes from Mailgun and import them with coss.email.suppressions.import (or as CSV on the Suppressions page) and contacts with coss.email.contacts.import. (/docs/email/suppressions)
3. **Switch sending and receiving.** Send with coss.email.send() or SMTP at smtp.coss.com, move inbound routes to a receiving domain with coss.com's MX record, and point webhook handlers at coss.com's events. (/docs/email/receiving)

## Frequently asked questions

### Is there an importer for Mailgun?

No. The dashboard's importer covers Resend, SendGrid and Postmark. From Mailgun, add your domains, import suppressions and contacts through the API or the dashboard, and switch your sending code or SMTP settings.

### Does coss.com have Mailgun-style subaccounts?

Yes. coss.com sub-accounts have their own domains, SES tenant, reputation, quotas and suppression list, and send transactional email for one of your customers.

### How does coss.com handle inbound email compared with Mailgun routes?

coss.com receives every message for an environment's addresses, stores it and sends an email.received webhook; your code decides what to do with it. Inboxes add threads and replies for agents.

### Does coss.com support SMTP like Mailgun?

Yes. smtp.coss.com accepts TLS on port 465 and STARTTLS on 587 (2465 and 2587 also work), with the username coss and an API key as the password.

## Sources

- [Mailgun pricing](https://www.mailgun.com/pricing/)
- [Mailgun docs: subaccounts](https://documentation.mailgun.com/docs/mailgun/user-manual/subaccounts/subaccounts)
- [Mailgun docs: receiving, forwarding and storing](https://documentation.mailgun.com/docs/mailgun/user-manual/receive-forward-store/receive-forward-store)
- [Mailgun docs: securing webhooks](https://documentation.mailgun.com/docs/mailgun/user-manual/webhooks/securing-webhooks)
- [Mailgun SDKs](https://documentation.mailgun.com/docs/mailgun/sdk/introduction)