SendGrid vs Mailgun vs Resend for Transactional Email
By Ryan
SendGrid, Mailgun, and Resend all deliver password resets, receipts, and alerts from your app through an API or SMTP, and all three report what happened to every message through signed webhooks. The right choice depends on your sending volume, how long your team needs message logs, whether you want a dedicated IP, and how your developers prefer to verify webhook events. This comparison covers the criteria that decide it:
- Pricing and included volume
- Logs and message visibility
- Deliverability and dedicated IPs
- Signed webhook setup
- Who should run it
The Short Version
- Choose Resend when your developers want the simplest API setup and your support team wants 30 days of message logs on every plan, including Free
- Choose Mailgun when you send from many domains, since Foundation and Scale allow up to 1,000, and you want a dedicated IP included as volume grows
- Choose SendGrid when the company already works with Twilio, or wants email validation credits and a dedicated IP bundled into the Pro plan
Pricing and Included Volume
How ScaleIT handles this: See how compliance works
All three price by monthly sending volume. Figures below come from each vendor's pricing page on 2026-10-27.
- Resend: Free covers 3,000 emails a month with a 100 per day cap and 3 domains. Pro starts at $20 for 50,000 emails and 10 domains. Scale starts at $90 for 100,000 emails and 1,000 domains. Overage starts at $0.90 per 1,000 emails.
- Mailgun: Free covers 100 emails a day on 1 domain. Basic starts at $15 for 10,000 emails. Foundation is $35 for 50,000 emails and Scale is $90 for 100,000 emails, each after a one-month free trial.
- SendGrid: a 60-day free trial sends 100 emails a day with no credit card. Essentials starts at $19.95 a month, Pro starts at $89.95, and Premier is custom priced, with the final price set by the volume you select.
Logs and Message Visibility
Log retention decides how far back your team can answer a "did my email arrive" ticket.
- Resend: 30 days on every transactional plan
- Mailgun: 1 day on Free and Basic, 5 days on Foundation, and 30 days on Scale
- SendGrid: 3 days of searchable activity on Essentials and 7 days on Pro, with longer retention available to purchase
Deliverability and Dedicated IPs
All three authenticate your sending domain through DNS records. Publish SPF, DKIM, and a DMARC record for that domain with whichever provider you choose, since Gmail and Yahoo expect authenticated mail from bulk senders.
- SendGrid: one dedicated IP included on Pro and Premier, with more available as an add-on
- Mailgun: one dedicated IP included with Foundation 100k, Growth, and Scale, with additional IPs at $59 per IP per month
- Resend: a dedicated IP add-on at $30 a month on Scale, for senders above 3,000 emails per day
Shared IP pools suit most senders. A dedicated IP fits steady, high-volume sending where you want full control of your sending reputation.
Signed Webhook Setup
Each provider signs its event webhooks differently, so your endpoint code depends on the choice.
- SendGrid: ECDSA signatures. In Settings โ Mail Settings โ Event Webhooks, edit the webhook, toggle Enable Signed Event Webhook under Security features, click Save, then copy the public key. Verify the
X-Twilio-Email-Event-Webhook-Signatureheader against theX-Twilio-Email-Event-Webhook-Timestampheader plus the raw body. An optional OAuth 2.0 client credentials flow adds a bearer token to each request. - Mailgun: HMAC-SHA256 over
timestampplustoken, using the account-wide HTTP webhook signing key from Settings โ API Security. Cache eachtokenand reject repeats to block replayed requests. - Resend: the Svix scheme, with
svix-id,svix-timestamp, andsvix-signatureheaders. Copy the signing secret from the webhook's details page and callresend.webhooks.verify()in the Resend SDK.
For all three, verify against the raw request body, since frameworks that parse and re-serialize JSON change the bytes and break the signature.
Who Should Run It
Outsourcing transactional email setup is the default recommendation for most SMBs. A managed IT partner configures DNS authentication, stores API keys and signing secrets in a secrets manager, sets up webhook verification, and watches bounce and complaint rates from day one. Companies that already work with an IT partner get the most value by adding email delivery to that partner's scope.
ScaleIt sets up and manages transactional email, domain authentication, and webhook security for startups and SMBs as part of managed IT support. Book a free call and we will match the right provider to your app.
Verified against vendor documentation on 2026-10-27: https://resend.com/pricing, https://www.mailgun.com/pricing/, https://www.twilio.com/en-us/pricing/email-api, https://www.twilio.com/docs/sendgrid/for-developers/tracking-events/getting-started-event-webhook-security-features, https://documentation.mailgun.com/docs/mailgun/user-manual/webhooks/securing-webhooks, https://resend.com/docs/webhooks/verify-webhooks-requests.