Mailgun

Email delivery service for sending, receiving, and tracking emails
Connect it
In Keystile Automations → Connections → New connection, choose Mailgun and sign in. Your AI tools and workflows then use it through Keystile; they never see the password or key.How connecting works.
Try it from your AI tool
Using Keystile, in Mailgun: add mailing list member (Add a new member to a Mailgun mailing list).What it can do (9 actions)
| Action | What it does | Changes data |
|---|---|---|
| Add Mailing List Member | Add a new member to a Mailgun mailing list | |
| Custom API Call | Make a custom API call to a specific endpoint | Yes |
| Delete Bounces (Bulk) | Remove bounced addresses from the Mailgun suppression list, either all at once for a domain or a single address. | |
| 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. | |
| Get Domain Stats | Retrieve aggregated email statistics for a Mailgun domain (delivered, failed, opened, etc.). Useful for monitoring delivery health and detecting anomalies. | |
| Get Events | Retrieve email events from your Mailgun domain (deliveries, failures, opens, clicks, etc.). Useful for monitoring and alerting. | |
| List Bounces | Retrieve the list of bounced email addresses for a Mailgun domain. Useful for cleanup after delivery issues or spam attacks. | |
| Send Email | Send an email using your Mailgun domain | |
| Validate Email | Validate an email address using Mailgun validation service. Requires a Mailgun account with email validation enabled. |
Start a workflow when… (8 triggers)
- New Bounce Event — Triggers when an email permanently fails to deliver (hard bounce) in Mailgun
- New Complaint Event — Triggers when a recipient reports an email as spam in Mailgun
- New Delivery Event — Triggers when an email is successfully delivered in Mailgun
- New Failed Delivery Event — Triggers when an email temporarily fails to deliver in Mailgun (will be retried)
- New Open Event — Triggers when a recipient opens an email in Mailgun
- New Click Event — Triggers when a recipient clicks a tracked link in an email in Mailgun
- New Unsubscribe Event — Triggers when a recipient unsubscribes from emails in Mailgun
- 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.
How Keystile protects it
Every Mailgun action is checked before it runs, whether it comes from an AI tool or a workflow. 1 of its actions change data; your rules, limits and budgets decide whether each is allowed, held for a person or stopped, and it all goes into the signed record.
Use Mailgun with your AI assistant — safelyClaude, Cursor or ChatGPT do the work; Keystile checks every action first.
Get early access