Mailgun

Mailgun is the all-in-one, intelligent email delivery platform trusted by businesses and loved by developers. [1]

www.mailgun.com · Agent JSON · Last verified 2026-06-06 · Source confidence: high

Mailgun is an email delivery platform aimed at developers, covering transactional and bulk sending, deliverability, email validation, and inbound processing. The REST API supports basic and API-key auth, webhooks, six SDKs, and an official MCP server, with US and EU regions. Pricing is published and self-serve: 100 emails/day free, paid plans from $15/month. It carries SOC 2 Type 2, HIPAA, GDPR, ISO 27001, PCI DSS, and an SLA. Used by Microsoft, Wikipedia, and American Express.

Scores

Scores are derived in a separate pass from the literal fields below; not yet computed for this profile.

Pricing & procurement

Pricing model
Hybrid (base + usage) [2]
Published pricing
Yes [3]
Free tier
Yes [4]
Free tier details
$0/mo Free plan: 100 emails per day, 1 custom sending domain, ticket support, RESTful email APIs and SMTP relay, tracking/analytics/webhooks, 2 API keys, 1 day log retention, 1 inbound route [5]
Self-serve signup
Yes [6]
Requires sales call
No [7]
Enterprise plan
Yes [8]
Published prices
PlanItemPerAmountSource
Free100 emailsday$0source
Basic10,000 emailsmonth$15source
Foundation50,000 emailsmonth$35source
Scale100,000 emailsmonth$90source
BasicEmail overage1,000 emails$1.8source
FoundationEmail overage1,000 emails$1.3source
ScaleEmail overage1,000 emails$1.1source
FreeEmail validation100 validations$1.2source
BasicEmail validation100 validations$1.2source
FoundationEmail validation100 validations$1.2source
ScaleEmail validation overage100 validations$0.8source
Dedicated IPmonth$59source
Pilot2,500 email validationsmonth$49source
Starter5,000 email validationsmonth$99source
PilotEmail validation overage100 validations$1.2source
StarterEmail validation overage100 validations$0.8source
PilotInbox placement test overagetest$0.75source
StarterInbox placement test overagetest$0.75source
Basic1,000 email previewsmonth$99source
Premium2,000 email previewsmonth$199source
BasicEmail preview overagepreview$0.15source
PremiumEmail preview overagepreview$0.15source

Capabilities

  • Transactional send
  • Inbound parsing
  • Templates
  • Batch send
  • Scheduled send
  • SMTP relay
  • Dedicated IP
  • Email validation
  • Analytics
Supported actions
send_email, send_email_mime, retrieve_stored_email, resend_email, get_queue_status, delete_scheduled_mail, list_domains, create_domain, get_domain, update_domain, verify_domain, delete_domain, list_dkim_keys, create_dkim_key, delete_dkim_key, activate_dkim_key, deactivate_dkim_key, update_dkim_authority, update_dkim_selector, get_domain_tracking, update_click_tracking, update_open_tracking, update_unsubscribe_tracking, get_certificate_status, update_certificate, create_certificate, rotate_dkim_key, schedule_dkim_rotation, list_account_webhooks, create_account_webhook, get_account_webhook, update_account_webhook, delete_account_webhook, list_domain_webhooks, create_domain_webhook, get_domain_webhook, update_domain_webhook, delete_domain_webhook, get_metrics, get_usage_metrics, get_logs, get_bounce_classification_metrics, manage_tags, get_stats, get_provider_aggregates, get_device_aggregates, get_country_aggregates, get_events, list_send_alerts, create_send_alert, get_send_alert, update_send_alert, delete_send_alert, get_alert_hits, get_alert_events, manage_alert_settings, manage_slack_settings, update_webhook_signing_key, list_limits, create_limit, get_limit, update_limit, delete_limit, import_unsubscribes, list_unsubscribes, get_unsubscribe, create_unsubscribe, delete_unsubscribe, import_complaints, list_complaints, get_complaint, create_complaint, delete_complaint, import_bounces, list_bounces, get_bounce, create_bounce, delete_bounce, import_allowlist, list_allowlist, get_allowlist_entry, create_allowlist_entry, delete_allowlist_entry, create_route, list_routes, get_route, update_route, delete_route, match_route, list_forwards, create_forward, get_forward, update_forward, delete_forward, create_mailing_list, list_mailing_lists, list_mailing_list_members, add_mailing_list_member, add_mailing_list_members_bulk, get_mailing_list_member, update_mailing_list_member, list_account_templates, create_account_template, get_account_template, update_account_template, delete_account_template, manage_template_versions, list_domain_templates, create_domain_template, get_domain_template, update_domain_template, delete_domain_template, manage_ip_pools, manage_dynamic_ip_pools, list_ips, get_ip, assign_ip_to_domain, unassign_ip_from_domain, warmup_ip, list_subaccounts, create_subaccount, get_subaccount, update_subaccount, delete_subaccount, get_custom_message_limit, set_custom_message_limit, delete_custom_message_limit, get_account, list_api_keys, create_api_key, get_api_key, update_api_key, delete_api_key, list_credentials, create_credential, get_credential, update_credential, delete_credential, manage_ip_allowlist, list_users, create_user, get_user, update_user, delete_user, validate_email, inspect_email [9]
Regions
United States, European Union [10]
Input types
multipart/form-data, MIME, application/x-www-form-urlencoded [11]
Output types
JSON [12]
Webhooks
Yes [13]
Sandbox / test mode
Yes [14]
SDK languages
Python, Node.js, Ruby, Go, PHP, Java [15]
MCP server
Yes [16]

Trust & compliance

SOC 2
SOC 2 Type II [17]
HIPAA
Yes [18]
GDPR
Yes [19]
ISO 27001
Yes [20]
PCI DSS
Yes [21]
Published SLA
Yes [22]
Rate limits
API calls are subject to a rate limit of 500 requests every 10 seconds; 1,500 API requests per second per client IP; 1,500 SMTP requests per second per client IP [23]
Known restrictions
The maximum size is 25 MB per message on Mailgun, You can send a message to a maximum of 1,000 recipients (total of To, Cc, and Bcc fields combined), Sandbox domains can only send to authorized recipients (maximum of 5 authorized recipients), The default limit is 1,000 domains per Mailgun account, Log data: 1 to 30 days, depending on service level, Message data: 1 to 7 days (custom retention periods available for contract customers), Mailgun does not manage or host inboxes, Validate and Inspect: Available in contract plans only, Self-serve customers receive simplified bot/engagement checks (full results require contract), You are charged for messages sent in test mode [24]

Developer surface

Docs rendering: static

Integration

API style
rest
Base URL
https://api.mailgun.net/
Version
v3
Versioning
url
Auth methods
basic, api_key
Idempotency keys
No
Error format
vendor-specific
Webhook signing
hmac_sha256
Rate limit
500 / 10 seconds

SDKs

  • Python mailgun-python · repo · updated 2026-06 · 8
  • Node.js mailgun.js · repo · updated 2026-06 · 548
  • Ruby mailgun-ruby · repo · updated 2026-05 · 488
  • Go github.com/mailgun/mailgun-go/v4 · repo · updated 2026-06 · 745
  • PHP mailgun/mailgun-php · repo · updated 2026-04 · 1,136
  • Java com.mailgun:mailgun-java · repo · updated 2026-05 · 32

Adoption & maturity

Launched
2010-01-01
Notable customers
Microsoft, Wikipedia, American Express, Lyft, Etsy

Other Email APIs

  • Mailjet

    The best email marketing software that's built for devs and loved by marketers.

    Hybrid · free tier · public pricing · self-serve

  • Amazon Simple Email Service

    Amazon Simple Email Service (Amazon SES) is a cloud-based email service provider that can integrate into any application for high-volume email automation.

    Usage · public pricing · self-serve

  • Brevo

    Brevo is the most intuitive all-in-one customer engagement platform: email and SMS marketing, automation, CRM, live chat, and transactional email.

    Hybrid · free tier · public pricing · self-serve

  • SendGrid

    Email at scale, proven deliverability, and so much more

    Hybrid · public pricing · self-serve

  • MailerSend

    MailerSend is a powerful transactional email system built for developers but designed so non-tech teams can contribute without coding.

    Hybrid · free tier · public pricing · self-serve

  • Postmark

    Fast, Reliable Email Delivery Service

    Hybrid · free tier · public pricing · self-serve

See all Email APIs APIs →

References

Change history

Every field change, who made it, and when — from our audited data pipeline and editors.

  1. 2026-06-08 Rendering: (none)static
  2. 2026-06-08 Changelog URL: (none)https://www.mailgun.com/releases
  3. 2026-06-08 Docs URL: (none)https://www.mailgun.com/developer
  4. 2026-06-08 Llms Txt Present: (none)No
  5. 2026-06-08 Status Page URL: (none)https://status.mailgun.com
  6. 2026-06-07 SDK Packages: Python, Node.js, Ruby, Go, PHP, JavaPython, Node.js, Ruby, Go, PHP, Java
  7. 2026-06-07 Summary Md: (none)Mailgun is an email delivery platform aimed at developers, covering transaction…
  8. 2026-06-07 SDK Packages: Python, Node.js, Go, Ruby, PHP, JavaPython, Node.js, Ruby, Go, PHP, Java
  9. 2026-06-07 MCP URL: (none)https://github.com/mailgun/mailgun-mcp-server
  10. 2026-06-07 Quickstart URL: (none)https://documentation.mailgun.com/docs/mailgun/quickstart
  11. 2026-06-07 Idempotency Supported: (none)No
  12. 2026-06-07 Error Format: (none)vendor-specific
  13. 2026-06-07 Webhook Signing: (none)hmac_sha256
  14. 2026-06-07 Webhook Events URL: (none)https://documentation.mailgun.com/docs/mailgun/user-manual/webhooks/webhooks
  15. 2026-06-07 Rate Limit Requests: (none)500
  16. 2026-06-07 Requires Verification: (none)Yes
  17. 2026-06-07 SLA URL: (none)https://www.mailgun.com/legal/sla/
  18. 2026-06-07 Starting Price Usd: (none)15
  19. 2026-06-07 Price Basis: (none)month
  20. 2026-06-07 Free Tier Limit: (none)100 emails/day
  21. 2026-06-07 Launched At: (none)2010-01-01
  22. 2026-06-07 Notable Customers: (none)Microsoft, Wikipedia, American Express, Lyft, Etsy
  23. 2026-06-07 Fields Not Found: (none)stability, ga_date, deprecation_policy_url, data_retention_policy_url
  24. 2026-06-07 SDK Languages: Python, Node.js, Go, Ruby, PHP, JavaPython, Node.js, Ruby, Go, PHP, Java
  25. 2026-06-07 Rate Limit Window: (none)10 seconds
  26. 2026-06-07 Auth Methods: (none)basic, api_key
  27. 2026-06-07 Auth Docs URL: (none)https://documentation.mailgun.com/docs/mailgun/api-reference/mg-auth
  28. 2026-06-07 API Style: (none)rest
  29. 2026-06-07 Base URL: (none)https://api.mailgun.net/
  30. 2026-06-07 API Version: (none)v3
  31. 2026-06-07 Versioning Scheme: (none)url
  32. 2026-06-07 SDK Packages: (none)Python, Node.js, Go, Ruby, PHP, Java
  33. 2026-06-07 Capabilities: {"smtp":true,"inbound":true,"analytics":true,"templates":true,"batch_send":true…{"smtp":true,"inbound":true,"analytics":true,"templates":true,"batch_send":true…