Easily Integrate Email Into Your App

Your Email, Delivered

We don’t just send your email, we deliver it. Our software automatically manages the delivery process to give your emails the best chance of landing in the inbox. And if something happens that keep your messages from being delivered, we’ll tell you.

Through our API or control panel, you’ll always know exactly what has happened to every one of your emails.

Email logs
Sending domains

Send for Yourself, Your Customers or Both

Each domain within Mailgun is an isolated sub-account with its own sending queue and reputation. That means that your transactional emails won’t get stuck behind your newsletters.

It also means you can effectively manage thousands of your own customers all within a single Mailgun account.

Is one of your customers spamming? We can disable their domain without affecting your good customers.

Mailgun makes it easy to build and manage a large-scale email marketing application with thousands of customers sending millions of emails

— Chris Hexton, CEO, Vero

Batch Sending

With a single API call, you can send up to 1000 fully personalized emails.

Mailgun will properly assemble the MIME message and send the email to each of your users individually. That makes sending large volumes of email a lot faster and a lot less resource intensive.

POST /messages
  from = 'Richard Hendricks '
  to = 'gavin@hooli.xyz'
  to = 'erlich@aviato.com'
  recipient-variables = '{"gavin@hooli.xyz": {"first":"Gavin"}, "erlich@aviato.com": {"first":"Erlich"}}'
  subject = 'Hello %recipient.first%'
  text = 'Welcome to Pied Piper %recipient.first%!'                              
Personalize emails


Your users are unique and their emails should be too. With Recipient Variables, you can easily personalize all your emails for each user. First name, order value, and other common fields are easy.

You can also personalize the entire look of the email by including image urls with your Recipient Variables.

Other Great Features of Mailgun Sending

  • Scheduled delivery
  • Test mode
  • Custom meta-data
  • ESP feedback handling
  • Dedicated IP addresses
  • Customized DKIM & SPF
  • Detailed logs & analytics
  • Spam complaint handling
  • Bounce handling
  • A/B testing using tags