Mailgun
Communication API keySend email, and manage domains, lists and events, with Mailgun from any Windmill script, flow or app.
Set up in 3 steps
Copy your API key
In the Mailgun dashboard, open your account settings then API keys, and copy the private key.
Add the resource in Windmill
Open Resources, add a resource of type mailgun, and paste it into api_key.
Run your first script
Fork the send script below. A sandbox domain only delivers to recipients you have verified.
Scripts
Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.
Send an email based on a mailgun template
Verify Email
Create Route
Send Email
Get Mailing List Members
Suppress Email
List Domains
Delete Mailing List Member
Create Mailing List Member
Get Mailing List Member
Send an email using mailgun
Send an html email from mailgun
Resource type
mailgun — the shape of the credential every script on this page expects.
| Field | Type | Required | What it is |
|---|---|---|---|
| api_key | string | Yes | Mailgun API key |
Questions
My send is rejected
Usually the domain. Mailgun only sends from a domain you have added and verified; a sandbox domain reaches only verified recipients.
US or EU?
Mailgun runs separate regions with different hosts. An EU account does not answer on the US host.
Is my key stored on the hub?
Never. It lives only in your own Windmill workspace, encrypted at rest.