Flexible Sending

The Best Email API Solution Built for Developers

Send transactional or bulk email effortlessly with our SMTP relay and flexible HTTP API.

Integrations

Easily integrate email into your app

Set up your email integration in no time, and start A/B testing, scheduling, and tracking your sends. Whether you need to send 10 emails or 10 million, our delivery infrastructure scales with you.

See our API Documentation with libraries for popular languages like Python, Ruby, Java, C#, PHP, and more.

art@2x
analytics

Know exactly what happens to every email you send

Get insight into the performance of your messages with advanced email analytics. Track engagement metrics like opens and clicks, use hourly data to determine the best time to send your emails, and dig into performance by device, location, and mailbox provider.

When delivery failures happen, our detailed logs make it easy to diagnose and correct email issues.

Performance

Get better deliverability with less work

Give your emails the best chance of landing in the inbox. Send from your domain with SPF, DKIM, and DMARC customization, and protect your reputation from bad actors with dedicated IPs and isolated sending domains.

To optimize your deliverability, sign up for Mailgun’s Managed Service and get tools, expertise, and dedicated, one-on-one support.

arts@2x
group-25@2x
inbound

Make inbound emails easier to process

Receive your emails fully parsed and converted to UTF-8. Turn complex MIME data from incoming messages into straightforward JSON. With our powerful email parsing and routing features, inbound processing isn’t such a pain.

See how UserVoice solved their incoming email problem with Mailgun.

Free trial

Try Mailgun’s Email API

See what you can accomplish with the world's best email delivery platform. Sending a high volume messages? Check out our pricing to estimate your monthly cost.

Sign Up Free
  • Github
  • Lyft
  • Shopify
  • WP Engine
  • Reddit
sign up
It's easy to get started. And it's free.
See what you can accomplish with the world's best email delivery platform.
Sign up for Free