Mailgun
An email delivery API and SMTP service that developers and GTM teams use to send, receive, track and validate email at volume.
- Mailgun sits in Cold email infrastructure and deliverability
- Yes, Mailgun has a Zapier app
- Native Mailgun integrations listed below
Website: mailgun.com. Integrations checked November 27, 2026.
What Mailgun is
Mailgun is email infrastructure for teams that send mail from their own product or systems rather than from a marketing tool's editor. Developers plug in its REST API or SMTP relay to send transactional messages such as sign-up confirmations, password resets, receipts and alerts, and to route inbound replies back into an application. Day to day, an engineer or ops lead watches delivery, bounce, complaint and open or click events, sets up webhooks so those events reach internal systems in real time, and runs email validation before large sends to keep lists clean. In a GTM stack it sits underneath the visible tools: a product, a custom outbound script or a lifecycle workflow hands it the message, and Mailgun handles delivery, logging and the event data that downstream analytics and CRM records depend on.
Best fit: Product and GTM engineering teams that send email from their own code or custom workflows and want direct control over delivery, events and validation.
What it's good for
- Sending high volumes of transactional email from an application through either a REST API or a standard SMTP relay.
- Streaming delivery, bounce, complaint, unsubscribe and engagement events to other systems through webhooks as they happen.
- Validating single addresses or whole lists in bulk before a send, which protects sender reputation on cold or old data.
- Parsing inbound email through routes so replies and forwarded messages can land in an app or workflow instead of a person's inbox.
- Giving engineers SDKs in several languages, so email logic lives in code alongside the rest of the product.
Build it in
Build Mailgun into your system
Buying Mailgun is the easy part. Getting it to talk to the rest of your stack, and getting your team to use it, is where most rollouts stall. Here's how we build it in, in your own accounts.
Map where Mailgun fits
We start from your goals and the stack you already pay for, then agree what Mailgun owns and what it hands off, so cold email infrastructure and deliverability work lives in one place.
Connect it to your stack
We wire Mailgun to ActiveCampaign, Asana and Cursor and the rest of your tools, then log every sync, so a broken connection shows up the same day.
Automate the jobs it's for
We set Mailgun up for transactional product email and list hygiene before sends, with the fields, rules and alerts your team signs off on.
Measure it and hand it over
We add the reporting that shows whether Mailgun is paying off, then write the docs and record walkthroughs, so your team can run it without us.
Setup and management packages
Pick the package that matches the job. Each one is scoped on a short fit call and quoted as one fixed price.
GTM Audit Sprint
Plan it, with GTM Engineering
- Stack and data audit
- ICP and scoring review
- Prioritized fix list with costs
- Readout call and Loom walkthrough
GTM System Build
Build it, with GTM Engineering
- Data enrichment setup
- CRM setup or cleanup
- Signal based routing
- Outbound infrastructure
- MCP agent builds
- Docs and Looms
GTM Ops Retainer
Run it, with GTM Engineering
- New plays every sprint
- Workflow upkeep
- Friday async update
- Slack access, weekdays
What teams use it for
| Job | How teams use it |
|---|---|
| Transactional product email | Engineering teams send receipts, password resets, onboarding confirmations and alerts through the API, then monitor logs to confirm each message was delivered. |
| List hygiene before sends | Ops and marketing teams run bulk validation on imported or aging lists so invalid and risky addresses are removed before a campaign or outbound push. |
| Inbound email processing | Teams set up routes that catch replies or messages to a specific address and forward the parsed content into an application, helpdesk or workflow. |
| Deliverability monitoring | Ops leads track bounce, complaint and failed delivery events and wire alerts into team chat so problems surface before they damage sender reputation. |
Key features
- Email sending API
- SMTP relay
- Webhooks for delivery events
- Inbound routes and parsing
- Email validation, single and bulk
- Logs and delivery analytics
- SDKs for multiple languages
Watch outs
- Mailgun is infrastructure, not a campaign builder, so marketers who want a visual editor and audience segmentation will need another tool on top.
- Getting full value takes developer time to configure domains, DNS authentication, webhooks and code-level sending logic.
- Deliverability still depends on your own list quality, domain setup and sending habits, which the service reports on but cannot fix for you.
How Mailgun connects to your stack
Mailgun has a Zapier app with ten triggers, including new bounce, delivery, complaint, failed delivery, open or click, unsubscribe and inbound email via route events, plus actions to send email, add a mailing list member, validate an email and run bulk validation. Zapier templates pair it with Slack, Google Sheets, HubSpot, Mailchimp, Airtable, Shopify, Stripe and Jotform. Mailgun's own integrations directory lists ActiveCampaign, Asana, Datadog, GitHub Actions, Heroku, Make, n8n, Pipedream, Salesforce, Shopify, Slack, Splunk, WordPress and Workato, and notes that some connections, such as HubSpot and Salesforce, run through Zapier.
Mailgun has 47 verified connections: 22 native and 25 through Zapier templates, across 18 categories.
Search 47 verified connections.
See all 47 Mailgun connections, by category
Forms, quizzes and surveys (4)
Paid ads platforms and management (3)
Data warehouses and databases (2)
Internal tools and app builders (2)
DatadogAWS Lambda
Support and help desk (2)
HubSpotSalesforce
AI models, agents and LLM tooling (1)
Cursor
CRM (1)
Ecommerce platforms and growth (1)
Email marketing and newsletters (1)
Landing pages and conversion optimization (1)
Marketing automation (1)
ActiveCampaign
Point of sale (POS) (1)
Shopify
Project management and GTM operations (1)
Asana
Team chat and collaboration (1)
Slack
Other apps (15)
GitHub ActionsGoogle AnalyticsHerokuLovableSalesforce Agentforce Marketing (Marketing Cloud Next)SAP S/4HANA Private Cloud EditionSplunkWufooZoho SurveyWHMCSAmazon SNSLearnWorldsBonjoroSquarespace FormsJira Software Server
Mailgun on Zapier: 10 triggers and 6 actions
Zapier triggers
Events in Mailgun that can start a Zap.
- New Log Data
- New Bounce Event
- New Delivery Event
- New Inbound Email via Route
- New Unsubscribe Event
- New Alert
- New Complaint Event
- New Failed Delivery Event
- New Open/Click Event
- New List
Zapier actions and searches
What a Zap can do in Mailgun.
- Bulk Email Validation
- Get Bulk Validation Results
- Validate Email
- Send Email
- Add Mailing List Member
- API Request (Beta)
Zapier files Mailgun's app under Transactional Email.
Alternatives to Mailgun
Teams weighing Mailgun also look at: Amazon SESEasyDMARCGlockAppsInframailMaildosoMailforge
Compare Mailgun with every cold email infrastructure and deliverability tool
Terms to know
Terms that come up with Mailgun: Cold Email DeliverabilitySPFDKIMDMARCDomain WarmupInbox Rotation
Questions about Mailgun
What is Mailgun used for?
Mailgun is used to send, receive and track email from applications and custom systems. Teams send transactional messages through its API or SMTP relay, process inbound mail with routes, validate addresses before sends, and stream delivery and engagement events to other tools through webhooks so engineering and ops can see exactly what happened to each message.
How does Mailgun compare with Postmark?
Both are developer email services, and the choice usually comes down to scope. Mailgun covers sending, inbound routing, list validation and detailed event webhooks in one account, which suits teams mixing transactional and higher volume sends. Postmark is often chosen by teams focused narrowly on transactional delivery. Test both against your own volume and message types before committing.
What does Mailgun integrate with?
Mailgun has a Zapier app with triggers for bounces, deliveries, complaints, opens, clicks and inbound routes, and actions to send email and validate addresses. Its integrations directory names ActiveCampaign, Datadog, GitHub Actions, Heroku, Make, n8n, Pipedream, Salesforce, Shopify, Slack, Splunk, WordPress and Workato. It also offers webhooks and SDKs for custom connections.
Can New Theory set up Mailgun for us?
Yes. GTM Engineering covers Mailgun: we set it up in your own account, connect it to the rest of your stack, and hand it over documented, or keep running it for you. Mailgun work is scoped on a short fit call and quoted as one fixed price.
Startup? Let's talk.
20 minute fit call. You'll leave knowing the first thing we'd fix and roughly what it costs. If we're not the right fit, we'll tell you who is.