The email service for developers

Powerful APIs that enable you to send,
receive and track email effortlessly.

Send 10,000 emails for free every month.

Try Mailgun now Managed service for big senders

Trusted by smart software development teams

Mailgun customers

For developers

Everything is built API first with a focus on simplicity and compliance to standards.

Engineered for reliability

We're serious about uptime and we have the track record to prove it.

Help when you need it

More than just email support. Powered by Rackspace, we get customer service.

“Using Mailgun to send our email notifications enables us to focus on building a product our customers love, and not have to worry about maintaining our own email server.”

Paul Biggar — Paul Biggar, Founder, CircleCI

Powerful sending infrastructure

Easy SMTP integration and a simple, RESTful API abstracts away the messy details of sending transactional or bulk email. Scale quickly, whether you need to send 10 or 10 million emails.

Sending email features »

POST /messages
  from = 'App <me@myapp.io>'
  to = 'bob@gmail.com'
  subject = 'Hello'
  text = 'Welcome to our amazing app!'
  html = '<p>Welcome to our amazing app!</p>'

Intelligent inbound routing & storage

Route and forward email directly into your app or inbox. Email parsing turns your emails into easy-to-digest structured data and spam filtering keeps out unwanted emails.

Inbound routing features »

POST /routes
  expression = 'match_recipient(".*@myapp.io")'
  action = 'forward("http://myapp.io/msgs/")'

“Mailgun is incredibly reliable. 3 years in and we've never had a problem. That's the ultimate feature for an email service.”

Dave Fowler — Dave Fowler, Founder, Chartio

Tracking and analytics

Searchable logs mean you always know what is happening to your email while tags make it easy to A/B test and report on your data, and all via our webhooks.

Analytics features »

GET /events
  begin = 'Fri, 3 May 2013 09:00:00 -0000'
  ascending = 'yes'
  limit = 25
  pretty = 'yes'
  recipient = 'joe@example.com'

Email validation

Advanced email validation increases your conversions. Our jQuery plugin enables you to integrate it into your web forms fast.

Email validation features »

Managed Email Delivery

Customized to your email needs

Sending 10s of millions of emails a month requires an extra level of diligence to ensure you maintain a positive sending reputation. Let us help you get more emails delivered.

Learn more about managed email

Simple integration with your favorite language and framework. Read our docs.

Your app with email in minutes

Our API makes integrating real email quick & easy.

Try Mailgun now

Want better deliverability? Learn more about our managed email service.