The email service for developers

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

Try Mailgun now

Your first 10,000 emails are free every month.

Customers Customers include GitHub, UserVoice, Stripe, Parse, 37 Signals and Heroku

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. Live support people standing by to get you started.

“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

Powerful sending infrastructure

Easy SMTP integration and a simple, RESTful API abstracts away the messy details of 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

Intelligent inbound routing & storage

Email routing and forwarding directly into your app or inbox. 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

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.

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

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

Direct access to our email experts

Sending 10s of millions or 100s of millions of emails a month requires an extra level of diligence to maintain a positive sending reputation.

Read about our Managed Email service

Your app with email in minutes

Our API makes integrating real email quick & easy.

Try Mailgun now