Mailgun integration
Verify your Mailgun mailing lists
Connect Mailgun with an API key, bring in a mailing list and its members, check every address and download the results to clean the list.
What to enter for Mailgun
You need your Mailgun API key and the API address of your account's region. Mailgun keeps US and EU accounts on different addresses, so pick the one your account uses.
Your account also needs at least one sending domain. The connection test checks for it and shows the domain as the account name on your Connectors page.
The key is tested before it is saved, stored encrypted and never shown again.
| Provider | Mailgun |
|---|---|
| Name this connection | For example "Mailgun product updates". |
| API base URL | https://api.mailgun.net, or https://api.eu.mailgun.net for an account in the EU region. |
| Public key | Your Mailgun API key. |
| Private key | Leave it empty. |
Verify a Mailgun list in six steps
Up to 500,000 members come in per sync.
Copy your API key
Copy your Mailgun API key. Check which region your account is in: US or EU.
Open Connectors
In VerifyMyList, open Connectors, choose Mailgun and name the connection.
Test and connect
Enter the API address for your region, paste the key into Public key and press "Test and connect".
Pick a mailing list
Open the connection, choose a mailing list and press "Sync now". Its members come in for free.
Approve the cost
The pre-scan shows the rows to check and the credits needed. Nothing is charged until you accept.
Use the results
Download the CSV files and update the mailing list in Mailgun.
Two ways to keep Mailgun mail clean
Mailgun is often used by teams that send from their own app. You can clean the lists you have, and stop new bad addresses at the door.
Check the lists you already have
Use this connection to bring in a mailing list and its members. You see the cost first, then download the results as CSV files.
- No code needed.
- Good for newsletters and announcement lists.
Stop bad addresses at sign-up
Call our API when someone enters an address in your app. A typo or a throwaway inbox can be caught before it is saved. Webhooks tell your app when a bigger job is done.
Why verify before sending through Mailgun
Your sending domain builds a history with every message. Many bounces tell inbox providers that a sender does not look after its list, and that can affect where the rest of your mail lands.
Lists fed by app sign-ups collect typing mistakes, fake sign-ups and throwaway inboxes. A check finds them before your next send, without sending anything. See how it works.
After the check, in Mailgun
- Do not send: remove these members, or unsubscribe or suppress them with Mailgun's own tools.
- Use with caution: catch-all and risky addresses. Mail them separately and at a lower volume.
- Ready to send: no change needed.
- Full report: keep it as a record. Match rows by email address.
Mailgun questions
Which Mailgun key do I use?
Your Mailgun API key, the one that can read your domains and mailing lists. Other keys, such as a webhook signing key, will not pass the connection test.
Why does the test say the account has no sending domain?
The connection test reads the domains on your Mailgun account and needs at least one. Add a sending domain in Mailgun, then test again.
My Mailgun account is in the EU region. What do I change?
Only the API base URL. Use https://api.eu.mailgun.net instead of https://api.mailgun.net. The key goes in the same field.
How do I find the right mailing list?
The picker shows each list by its name. In Mailgun a list is known by its own address, such as [email protected], so you can match it to the list you see in Mailgun.
My addresses are in my app, not in a Mailgun list. Can I still check them?
Yes. Use the API to check each address when it is entered, or export the addresses as a CSV file and upload it for a bulk check.
Does connecting change my lists or suppressions in Mailgun?
No. The connection reads your domains, lists and members. Any change in Mailgun is a step you take yourself, with the result files.
Using another tool? See all integrations, or Amazon SES and SendGrid.
Check your Mailgun list
Create a free account and connect Mailgun. New accounts get 100 free credits. No card needed.