Mailgun integration
Email delivery service for sending, receiving, and tracking emails
- Actions
- 9
- Triggers
- 8
- Auth
- Custom auth
- License
- MIT, open source
- Updated
- September 2026
About the Mailgun integration
Add the Mailgun piece to a flow, connect your account once, and the rest of the builder can read from it and write to it. Because the piece is open source you can run it on our cloud or self-host it, and combine Mailgun with 760+ other apps in the same flow.
Triggers
Start a flow the moment something happens in Mailgun
Each trigger below can start a flow on its own, either instantly or on a schedule.
New Bounce Event
Triggers when an email permanently fails to deliver (hard bounce) in Mailgun
1 field
New Complaint Event
Triggers when a recipient reports an email as spam in Mailgun
1 field
New Delivery Event
Triggers when an email is successfully delivered in Mailgun
1 field
New Failed Delivery Event
Triggers when an email temporarily fails to deliver in Mailgun (will be retried)
1 field
New Open Event
Triggers when a recipient opens an email in Mailgun
1 field
New Click Event
Triggers when a recipient clicks a tracked link in an email in Mailgun
1 field
New Unsubscribe Event
Triggers when a recipient unsubscribes from emails in Mailgun
1 field
Bulk Bounce Threshold Exceeded
Triggers once when too many emails bounce within a set time period. Useful for catching spam attacks or deliverability problems early.
4 fields
Actions
Everything Activepieces can do in Mailgun
Drop any of these into a flow and fill in the fields. No code is required.
Send Email
Send an email using your Mailgun domain
9 fields
Validate Email
Validate an email address using Mailgun validation service. Requires a Mailgun account with email validation enabled.
2 fields
Add Mailing List Member
Add a new member to a Mailgun mailing list
6 fields
Get Events
Retrieve email events from your Mailgun domain (deliveries, failures, opens, clicks, etc.). Useful for monitoring and alerting.
6 fields
Get Domain Stats
Retrieve aggregated email statistics for a Mailgun domain (delivered, failed, opened, etc.). Useful for monitoring delivery health and detecting anomalies.
3 fields
List Bounces
Retrieve the list of bounced email addresses for a Mailgun domain. Useful for cleanup after delivery issues or spam attacks.
2 fields
Delete Bounces (Bulk)
Remove bounced addresses from the Mailgun suppression list, either all at once for a domain or a single address.
3 fields
Get Domain Health
Fetch the health of a Mailgun domain: current state, whether it has been disabled, and DNS verification status for sending and receiving records.
1 field
Custom API Call
Make a custom API call to a specific endpoint
10 fields
Use Mailgun in a flow
Connect Mailgun once and every trigger and action above is yours to drop into the builder, alongside 760+ other apps. Free to start, on our cloud or your own servers.
Mailgun, answered.
Yes. Activepieces is open source and free to start, and the Mailgun piece is included on every plan, from the free cloud tier to any self-hosted deployment.
Guides using Mailgun
More marketing integrations
Browse all integrationsWordPress
Open-source website creation software
Connect and network with professionals
PromoteKit
Affiliate marketing platform integrated with Stripe.
Inbox
Email marketing and transactional email automation with INBOX (useinbox.com). Manage contacts, lists, campaigns, and react to delivery events.
Trust
Collect and manage video and text testimonials from your customers.
Elastic Email
Email delivery and marketing platform for sending emails, managing contacts, campaigns, and segments.