Back to all companies
Sign in
Back to all companies
MA

Mailgun

Winter 2011Acquired

Email API service.

Save
MA

Mailgun

Winter 2011Acquired

Email API service.

Save
Company details

Mailgun is a developer-focused email delivery platform that empowers companies to send, receive, and track transactional and marketing emails through an API.

Founded in 2010, Mailgun became a Y-Combinator success story later acquired by Rackspace. In February 2017, Mailgun spun back out as a standalone business focused on building best-in-class email deliverability solutions. We are headquartered in San Antonio with remote teams in San Francisco and Austin. Customers like Slack, Lyft, Github, and Reddit rely on Mailgun to deliver email to their customers.

Location
San Francisco, CA, USA
Founded
2010
Category
API
YC Directory Pagemailgun.net
Founders
  • EK
    Ev Kontsevoy
    Founder/CEO
    X / TwitterLinkedIn
  • TW
    Taylor Wakefield
    Founder
    X / TwitterLinkedIn

Mailgun is a developer-focused email delivery platform that empowers companies to send, receive, and track transactional and marketing emails through an API.

Founded in 2010, Mailgun became a Y-Combinator success story later acquired by Rackspace. In February 2017, Mailgun spun back out as a standalone business focused on building best-in-class email deliverability solutions. We are headquartered in San Antonio with remote teams in San Francisco and Austin. Customers like Slack, Lyft, Github, and Reddit rely on Mailgun to deliver email to their customers.

Location
San Francisco, CA, USA
Founded
2010
Category
API
YC Directory Pagemailgun.net
Founders
  • EK
    Ev Kontsevoy
    Founder/CEO
    X / TwitterLinkedIn
  • TW
    Taylor Wakefield
    Founder
    X / TwitterLinkedIn

Pressure-test this opportunity

Turn this teardown into a decision-ready prompt for ChatGPT, Claude, or your agent.

On this page
  • Overview
  • Founding Story
  • Timeline
  • What They Built
  • Market Position
  • Target Customers
  • Market Size
  • Competition
  • Business Model
  • Traction
  • Post-Mortem
  • The wedge succeeded because it included distribution
  • Success made Mailgun a component
  • Independence widened the mandate
  • The strongest counter-explanation
  • Key Lessons
  • Sources

This report was generated by our Deep Research agent and may contain mistakes.

Did we get something wrong? DM @oscrhong and we'll fix it ASAP!

Startups.RIP — Dead startups, alive ideas
PricingContactPrivacyGot feedback? DM @oscrhong
Exec Briefing

Actionable insights

If you only have a few minutes to spare, here’s what investors, operators, and founders should know about Mailgun (W11).

  1. Distribution completed the API. Usage pricing made adoption cheap, while Heroku and Rackspace put the product where developers already worked. A technical wedge compounds when the path to first use is equally well designed.
  2. Move up the problem stack. Validation, event visibility, and expert deliverability support turned commodity transport into higher-value operational work without removing the self-serve entry point.
  3. Complementarity invites ownership. Hosting, marketing email, testing, and communications platforms each had a reason to bundle the same developer channel. Strategic fit can create exits while narrowing independent scope.
  4. Read transactions as product evidence. The ownership chain reflects finance, but each combination also mapped the category's expansion. Follow what buyers pair together to see where customer value is moving.

Overview

Mailgun began in 2010 as a developer API for sending, receiving, parsing, storing, and searching email. The wedge was unusually sharp: treat email as programmable infrastructure, price it by usage, and meet developers inside the tools and hosting platforms they already used.[1][2]

This is not a failure story. Mailgun succeeded so well at becoming infrastructure that it repeatedly became a strategic component of something larger. Rackspace bought it in 2012, it spun back out in 2017, Thoma Bravo took a majority stake in 2019, and Sinch acquired its parent, Pathwire, in 2021.[3][4] Each owner gained a proven developer channel. Mailgun gained capital, reach, or adjacent products, but lost some freedom to define the category on its own.

Founding Story

Taylor Wakefield started a company in 2008 and recruited Ev Kontsevoy as CTO. That venture failed during the financial crisis. The pair carried the working relationship and the lesson into Mailgun, which they founded in 2010 before joining Y Combinator's Winter 2011 class.[5][1] The available research does not establish how Wakefield and Kontsevoy first met, nor does it document their earlier employers or schools.

Application developers needed email, but conventional providers organized the product around inboxes or marketing campaigns. Mailgun instead exposed mailboxes and messages as programmable objects. Contemporary coverage called it a Twilio-style interface for email because both products removed communications plumbing from application code.[2]

Mailgun quickly widened the job from outbound delivery. By May 2011, developers could receive, parse, store, and search messages as well as send them. That expansion mattered because inbound email could become an application input, not merely a support-channel artifact.[2]

The founders later described the strategic ceiling they saw in that original shape. In a 2016 YC interview, Ev Kontsevoy said: "Looking back, it’s clear that from the beginning Mailgun was built to be acquired. We did not see how it could ever become a billion dollar business on its own."[5] Taylor Wakefield also said Mailgun was profitable and "almost doubled our revenue between when we first started talking to Rackspace and when we closed the deal."[5] Those accounts make the sale look like a choice made from strength, not an escape from a broken product.

Timeline

  • 2008: Wakefield started a company and brought Kontsevoy in as CTO; it later failed during the financial crisis.[5]
  • 2010 to winter 2011: The pair founded Mailgun and entered YC W11.[1]
  • May 2011: Mailgun announced $1.1 million from SV Angel, Yuri Milner, Maynard Webb, Paul Buchheit, and Geoff Ralston.[2]
  • August 2012: Rackspace acquired Mailgun and kept the team operating in San Francisco.[6]
  • 2013 to 2014: Mailgun added email validation, then a managed deliverability service for large senders.[7]
  • February 2017: Mailgun spun out with $50 million led by Turn/River Capital. Rackspace later reported $40.2 million in consideration for the asset sale.[8][9]
  • 2019: Thoma Bravo acquired a majority stake; Mailgun later added Mailjet to broaden beyond transactional developer email.[10][7]
  • December 2021: Sinch completed its Pathwire acquisition for $925 million in cash plus 51 million Sinch shares.[4]
Y

Mailgun (YC W11) is being acquired by Rackspace

153 points62 comments

What They Built

Mailgun turned email operations into primitives a developer could call from an application. A team could send either structured message parts or a complete MIME message through REST, fall back to SMTP, manage domains and templates, inspect events, and receive webhooks. Inbound routes parsed received messages and posted them to a customer's endpoint.[11]

The event layer converted a murky delivery process into an observable system. Webhooks reported whether a message was accepted, delivered, bounced, opened, clicked, unsubscribed, complained about, or stored. Tags and custom variables let customers connect those events to their own users and workflows.[12]

Unlock the full Mailgun teardown

Read the complete post-mortem, the rebuild playbook, and the exact reasons Mailgun is still worth studying now.

See Pro plans