Pre-send cleaning of a mailing list
Pull members with the API, verify the file in Bounceless, re-import the send-decision rows with upsert=yes, then delete or unsubscribe the suppress-decision members so they are off the list before your next send.
Integration workflow
Mailgun's own Bounces, Unsubscribes, and Complaints tables only catch an address after it fails — a hard bounce, an unsubscribe click, a spam complaint, all discovered mid-send against your domain reputation. Running your mailing list through Bounceless first catches dead mailboxes and typos while they are still rows in a file, before Mailgun's own suppression system ever has to.
From audience to action
Follow the workflow for Mailgun, then use your verification results before the next send.
All integrationsMailing lists live under the Mailing Lists area of the Control Panel, or you can read them directly with the API: GET /v3/lists/{list_address}/members returns every member as JSON, with a paginated variant for larger lists.
Upload the exported member list to Bounceless as a bulk verification job. Every address gets a confidence level, reason codes, and a Pre-Send Decision: send, review, or suppress.
Upload the send-decision addresses back to the list with POST /v3/lists/{list_address}/members.csv (or the .json variant), up to 1000 members per call. Setting upsert=yes updates members who already exist instead of erroring on them. Upsert only adds or updates members — it never removes anyone, so the invalid members are still on the list until the next step.
For each suppress-decision address, call DELETE /v3/lists/{list_address}/members/{member_address} to take it off the list, or update the member with subscribed=false if you want to keep the record — Mailgun does not send list mail to unsubscribed members. To stop sending to an address from the whole domain, not just this list, add it to the Bounces suppression table with POST /v3/{domain}/bounces/import, using a CSV with an address column.
Fits your workflow
Pull members with the API, verify the file in Bounceless, re-import the send-decision rows with upsert=yes, then delete or unsubscribe the suppress-decision members so they are off the list before your next send.
Mailgun only suppresses an address after it hard-bounces. Catching dead mailboxes in Bounceless first means fewer addresses ever hit that table, and cleaner deliverability from day one.
Verify a partner or CRM export in Bounceless before bulk-uploading it into a Mailgun list, instead of finding the invalid rows later through bounces and complaints.
Mailgun is built API-first: its documentation is thorough on endpoints and curl examples but thin on dashboard screenshots, and mailing lists are no exception. There is no documented one-click “Export” button for a list — the supported path is a GET request against the Mailing Lists API, and the same is true in reverse for re-importing a cleaned file. That shape actually maps well onto how Bounceless is meant to be used: pull the list, verify it, push the clean version back, all as a small scripted loop rather than a manual export/import dance in a UI.
Before your next Mailgun send, verify a single email and review the result.
The more specific reason this pairing matters is Mailgun’s suppression model. Mailgun tracks three separate outcomes — hard bounces, unsubscribes, and spam complaints — each in its own table under the Suppressions tab, and once an address lands there Mailgun will not attempt to send to it again. That is a real safety net, but it is a reactive one: an address only ends up in the Bounces table after Mailgun has already tried to deliver to it and failed. Soft bounces (a full mailbox, a temporary rejection) are explicitly not suppressed at all, so a list full of them keeps getting retried.
Running a list through Bounceless before it ever reaches Mailgun moves that same cleanup earlier: dead mailboxes, typos, and other undeliverable addresses are caught while they are still rows in a file, not after they have already cost you a bounce against your sending domain. For anyone importing a partner’s or a CRM’s list into Mailgun, or refreshing an existing mailing list before a campaign, verifying first means the bulk upload endpoint is doing useful work — adding and updating real, deliverable addresses — instead of quietly importing rows that were never going to land.
GOOD QUESTIONS
Yes, at least for the re-import step. Mailgun's public docs don't describe a one-click CSV export button for mailing lists, so pulling members and bulk re-uploading the cleaned file both go through the Mailgun API rather than a dashboard-only flow. The verification step itself happens entirely inside Bounceless.
Mailgun's Bounces, Unsubscribes, and Complaints tables are suppression lists — they only stop future sends to an address after that address has already failed once. Bounceless verifies addresses before you send at all, so fewer of them ever generate a bounce or complaint for Mailgun to suppress in the first place.
A domain sending key only covers sending messages and cannot manage lists or suppressions. Reading, re-importing, and removing mailing list members needs the primary account API key (or a suitably scoped key), which Mailgun's docs note is more powerful and should be stored in a secrets manager rather than committed to source control.
This guide covers running Bounceless alongside Mailgun. Weighing Bounceless against Mailgun's own validation tooling instead? See the Bounceless vs Mailgun comparison.
KNOW MORE. BOUNCE LESS.
Verify your contacts, review the results, and choose your next step with confidence.