Postmark vs SendGrid vs Mailgun vs Resend: what each shows you about delivery
All four send transactional email reliably; they differ in what they show you afterwards. Postmark labels bounces in the most detail and keeps message content for 45 days by default, Mailgun offers US or EU domains and signed webhooks, SendGrid separates bounces from blocks and has scoped API keys, and Resend keeps 30 days of data with Svix-signed webhooks and four sending regions. Choose on retention, data residency, webhook security and key permissions, then check prices on each provider's own pricing page.
Postmark, Mailgun, SendGrid and Resend side by side
| Postmark | Mailgun | SendGrid | Resend | |
|---|---|---|---|---|
| Bounce categories | 22 bounce types, e.g. HardBounce, SoftBounce, Transient, SpamComplaint, DMARCPolicy, Blocked | failed events with severity permanent or temporary, plus a reason and the SMTP delivery-status | Separate bounce, blocked, deferred and dropped events; bounces sorted into 7 classifications (Invalid Address, Technical, Content, Reputation, Frequency/Volume, Mailbox Unavailable, Unclassified) | bounced with type Permanent, Transient or Undetermined and a subtype such as MailboxFull or MessageTooLarge |
| Suppression lists | Per message stream; reasons HardBounce, SpamComplaint, ManualSuppression. Only Postmark support can lift a spam complaint | Per domain: bounces, complaints, unsubscribes (plus allowlists) | Per account: bounces, invalid emails, spam reports, global and group unsubscribes. Blocks are listed but not kept suppressed | One list for the whole team; origin bounce, complaint or manual |
| Activity / log retention | 45 days by default; 7 to 365 days with the Retention Add-on (paid plans) | Depends on plan; see docs | Email Logs: 30 days, can't be extended. The older Email Activity Feed needs a paid add-on | 30 days on Free, Pro and Scale; Enterprise is flexible |
| Stored message content | HTML, text and source kept for the retention period; can't be switched off | Stored per domain for a retention period limited by plan; fetched from the event's storage URL | Not shown: Email Logs holds events and metadata, and there is no API for a sent message's body | html and text from GET /emails/{id} within the 30 days |
| Webhooks and signing | Delivery, bounce, spam complaint, open, click, subscription change, inbound, SMTP API error. Not signed: protect with basic auth in the URL and Postmark's IP ranges | Signed: HMAC-SHA256 of timestamp + token with the account's webhook signing key | Event Webhook, optionally signed with ECDSA in X-Twilio-Email-Event-Webhook-Signature | Signed through Svix: svix-id, svix-timestamp, svix-signature |
| Inbound email | Inbound stream POSTs JSON to your webhook; failed messages are kept and can be retried | Routes: forward() to a URL or address, store() for up to 3 days, stop() | Inbound Parse: MX to mx.sendgrid.net, POST to your URL; undeliverable posts dropped after 3 days | Receiving on your domain (MX) or a *.resend.app address; email.received webhook carries metadata, the body comes from the API |
| Templates and language | Mustachio (Mustache-based), with layouts; server-side render and validate endpoint | Customised Handlebars, with versions; variables in t:variables | Dynamic templates in Handlebars; data in dynamic_template_data | Triple-brace variables {{{VAR}}} with fallback values; must be published before sending |
| Regions / data residency | Hosted in the US; no EU servers planned (DPA with SCCs offered) | US or EU, chosen per domain (AU on contract); a domain can't change region | Global by default; EU data residency through EU regional subusers and api.eu.sendgrid.com | Sends from us-east-1, eu-west-1, sa-east-1 or ap-northeast-1; account data stays in the US |
| API key permissions | Server token (one server) and Account token (servers, domains, sender signatures); no scopes | Account keys with a fixed role: Admin, Developer, Support or Analyst (read-only); domain sending keys send only | Full Access, Custom Access (scopes such as mail.send, stats.read) or Billing Access | full_access or sending_access (optionally one domain); no read-only key |
| Test / sandbox modes | POSTMARK_API_TEST token checks a request without sending; Sandbox Mode servers process everything except delivery | Sandbox domain (up to 5 authorized recipients); o:testmode=yes accepts but doesn't deliver (still charged) | mail_settings.sandbox_mode validates a send, returns 200, creates no events | delivered@, bounced@, complained@ and [email protected] simulate outcomes (count toward quota) |
Checked against each provider's docs in November 2026; retention, regions and key types change most often. More on bounce wording: hard bounce vs soft bounce.
What a bounce looks like on each
- Postmark names the bounce for you (22 types) and keeps the message itself, so you can open the email that bounced for 45 days by default. Suppressions are per message stream, so a complaint on a broadcast stream doesn't block password resets on the transactional one.
- Mailgun gives you a severity and the receiving server's SMTP code and message. The decision is yours: only some permanent failures add the address to the bounces list (see Mailgun permanent failures).
- SendGrid splits rejections of the address (bounces) from rejections of you (blocks), which is the most useful distinction when diagnosing reputation; see bounces vs blocks. You don't get the message body back.
- Resend keeps one status per email (
last_event) and the bounce type and subtype; its suppression list covers every domain on the team. See Resend email statuses.
Which to choose, and when
No provider here is better at everything. Pick on the constraint that bites you first.
- Choose Postmark when you want the most detailed bounce labels, message content kept by default, transactional and broadcast mail separated inside one server, and inbound mail you can retry after your endpoint recovers. Check first: webhooks are unsigned and data is hosted in the US.
- Choose Mailgun when you need EU-hosted sending domains, signed webhooks, rule-based inbound routing, or a read-only Analyst key for dashboards. Check first: how many days of logs and stored messages your plan includes, and pick the region before you add the domain.
- Choose SendGrid when you want fine-grained API key scopes, separate block and invalid-email lists, unsubscribe groups, or EU data residency through subusers. Check first: event history stops at 30 days and sent bodies aren't kept, so store webhook events if you need more.
- Choose Resend when you want a small API, Svix-signed webhooks, a sending region close to your recipients, and test addresses that simulate bounces and complaints. Check first: account data stays in the US whatever region you send from, and reading anything needs a full-access key.
Prices and plan limits change often, so read them at the source: Postmark pricing, Mailgun pricing, SendGrid pricing, Resend pricing.
Migrating between providers
- Export suppressions before anything else. They don't move by themselves, and mailing old bounces and complainers from a new account is the quickest way to damage it. Sources: Postmark
GET /message-streams/{stream_id}/suppressions/dump, Mailgun/v3/{domain}/bounces,/complaints,/unsubscribes, SendGrid/v3/suppression/bouncesand the other lists, ResendGET /suppressions. Import them into the new provider (Postmark accepts up to 50 addresses perPOST /message-streams/{stream_id}/suppressions); check the target's API for the others. - Add the new DNS alongside the old. DKIM selectors differ by provider, so both sets of records can live together while traffic moves. Give each provider its own bounce subdomain so SPF keeps aligning; see SPF, DKIM and DMARC for transactional email.
- Rewrite webhook handlers, not just URLs. Payloads and event names differ, and so does verification: HMAC on Mailgun, ECDSA on SendGrid, Svix on Resend, basic auth and IP ranges on Postmark.
- Port templates and test them. Mustachio, Handlebars and Resend's triple braces look similar but differ on helpers, escaping and missing values; Resend refuses to send when a variable without a fallback is missing.
- Save the history you need. Logs and stored messages expire on the old provider's clock and don't transfer.
- Move traffic gradually, watching bounce and complaint rates on the new account.
Questions
Is Postmark better than SendGrid?
Neither is better at everything. Postmark keeps message content and labels bounces in more detail; SendGrid has scoped API keys, separate block lists and EU data residency through subusers.
Which email providers sign their webhooks?
Mailgun (HMAC-SHA256), SendGrid (optional ECDSA signature) and Resend (Svix) sign webhooks. Postmark doesn't support HMAC signatures and recommends basic auth in the webhook URL plus its IP ranges.
Which providers can keep email data in the EU?
Mailgun lets you create domains in its EU region, and SendGrid offers EU data residency through EU regional subusers. Postmark is hosted in the US, and Resend can send from Ireland but stores account data in the US.
Can I move my suppression list from Mailgun or SendGrid to Postmark or Resend?
Not automatically. Export each list through the old provider's API and import the addresses into the new one before you send, so you don't mail old bounces and complainers.
Related
- Hard bounce vs soft bounce: what each means, what to doA hard bounce is a permanent failure (5xx, e.g. 550 5.1.1): stop sending to it. A soft bounce is temporary (4xx, e.g. full mailbox): retry, then stop.
- SendGrid Email Activity history: 30 days and missing mailSendGrid Email Logs keeps 30 days of events for every customer. The older Email Activity Feed needs a paid add-on for 30 days. Why a message may not show.
- Mailgun EU region API: US vs EU endpoints and errorsMailgun EU domains use api.eu.mailgun.net, US domains api.mailgun.net. The key works in both, so the wrong host says the domain doesn't exist.
- Resend API key: create one and pick the right permissionResend API keys are full_access or sending_access. Sending keys only send and get 401 restricted_api_key on reads, so reading data needs full access.
- Postmark message streams: transactional, broadcast, inboundEach Postmark server has an outbound transactional stream and an inbound stream; you add broadcast streams. Pick one per email with MessageStream.
- What is transactional email? Examples, vs marketingTransactional email is triggered by a user action; marketing goes out on your schedule. Split them by stream, IP and subdomain to protect receipts.