Guide · Clean a list on your platform
Cleaning a Mailjet contact list
To clean a Mailjet contact list, check its addresses before you send, then keep the bad ones out of your campaigns. On its own, Mailjet blocks an address only after mail to it has bounced, or after the person has reported your mail as spam.
- Reading time
- 6 min
Choose a way
- Check a whole list and keep the results in Mailjet: our sync script checks a contact list as one bulk list and writes each result into contact properties, so a segment can leave out the addresses you should not mail. It runs on your computer and never unsubscribes, excludes or deletes a contact. Follow the Mailjet setup guide, then go on at step 4.
- Clean a list once from a file: export the list, check the file, and keep the bad addresses out of your campaigns. Start with step 1.
What Mailjet already does on its own
- It blocks addresses that bounced. A bounce can lead to the recipient being blocked, and Mailjet reports whether the error was permanent (Event types). Mail to an address that recently, or repeatedly, bounced is not sent at all: Mailjet reports it as
preblocked, which applies to every message, to protect your reputation (Mailjet's event guide). - It blocks people who reported spam. Sending to a recipient who reported an earlier message of your account as spam is blocked too (Mailjet's event guide).
- It keeps a campaign exclusion list. You can add contacts to it, and they no longer receive marketing email. They can still receive messages sent through the Send API. Exclusion applies to the whole account, not to one list (Manage your exclusion list).
All of this happens after you send, or after you act. A check looks at the addresses before the next send. It finds mailboxes that no longer exist (no_mailbox, which would bounce with a reply like 550 5.1.1), disposable addresses, and addresses that accept mail but should not be mailed, such as known spam traps. It also tells you which domains are catch-all, where a single mailbox cannot be confirmed.
Step 1: Export the contact list
In Mailjet, export the contact list you mail as a CSV file, with the email address of each contact. Mailjet's help centre describes the current steps. Any other columns the file holds stay next to each address in the result file.
Step 2: Check the file
Upload the exported file as a bulk list in the dashboard. Check that the email column was detected. You do not need to remove duplicates first, and duplicates, malformed addresses and unknown results cost nothing (cost).
When the check is complete, click Download all rows for a CSV of every row with your original columns (download options). Not Download valid addresses or Download safe-to-send addresses: one holds only the valid rows, the other only the rows whose action is send, so the rows you act on below would be missing. Each row keeps the columns you exported, followed by our result columns. Three of them matter here:
| Column | What it holds |
|---|---|
ev_status | valid, invalid, catch_all, unknown or disposable |
ev_reason | why, for example no_mailbox, spamtrap or role_account |
ev_action | send, send_with_caution, remove or retry_later |
Decide by ev_action, not by the status alone. A spam trap is valid, because the mailbox accepts mail, but its action is remove (actions).
Step 3: Make a file of the addresses to keep out
Open the result file in a spreadsheet and filter the ev_action column to remove. Copy the email addresses of those rows, and only those, into a new file with one column headed email, and save it as CSV. Mailjet's contact CSV files carry the property names in their first row (Manage contacts via CSV upload).
Step 4: Keep them out of your campaigns
Mailjet gives you three ways, with different reach:
- Exclude them from campaigns. The exclusion list stops marketing email to a contact in every list, while messages sent through the Send API, such as password resets, still arrive. Through Mailjet's API, a CSV import with the method
excludemarketingexcludes every address in the file at once, andincludemarketingtakes them off the exclusion list again (Manage your exclusion list). - Unsubscribe them from the list. A CSV import into the list with the method
unsubunsubscribes the contacts in the file from that list. Unsubscribe them rather than take them off the list withremove: a contact no longer on the list has no status there, so a later import adds it as subscribed. Never re-import them withaddforce: it subscribes contacts who had unsubscribed from the list again.addnoforcekeeps the status they have (Manage contacts via CSV upload). - Leave them out with a segment. If you used our sync script, each contact holds
ev_action. Make a segment with the condition "ev_action equals send" and pick it, with the list, for your campaigns. Contacts not checked yet hold noev_actionand are not in it, so run the sync before a campaign. Segments need a Mailjet plan with segmentation (setup guide).
You can do the same in Mailjet's own screens, where its help centre describes the steps. Mailjet notes that a large CSV import can take several hours.
A contact added after your check has not been checked. Check new contacts before they get mail: repeat steps 1 to 4 for them, or run the sync script again, which checks only contacts without a result or with an unknown one.
Step 5: Handle the caution and retry contacts
send_with_cautionmostly covers addresses on catch-all domains and role addresses such asinfo@, plus a few others such as addresses with low engagement. With the sync script, the segment "ev_action equals send" from step 4 already leaves them out of your regular campaigns; a second segment "ev_action equals send_with_caution" holds them for a campaign you send less often. From a file, put their addresses in a file as in step 3, keeping only contacts still subscribed to your main list and not excluded: a new list has no status for them, so an import adds every address in the file as subscribed. Import it into a list of their own withaddnoforce, and into your main list withunsub, so they get only the mail you send to their own list.retry_latermeans the check got no definite answer this time, for example because the receiving server was unavailable. Keep these contacts, but hold them out of your campaigns until they have a result. With the sync script, the segment "ev_action equals send" from step 4 already leaves them out, and the next run checks them again. From a file, keep them out with one of the ways in step 4, and check their addresses again in a few days with steps 2 and 3.
Exclude or unsubscribe, rather than delete
An unsubscribed contact keeps that status in the list: a later import with addnoforce leaves it unsubscribed, and of the import methods only addforce would subscribe it again. Exclusion is a status of the contact itself, for the whole account. Keep the contacts marked remove with one of these statuses rather than deleting them, so the status stays with the address if it turns up again in a later import.
Questions
Does Mailjet stop mailing bounced addresses by itself?
After the bounce, yes: a bounce can lead to the address being blocked, and mail to an address that recently or repeatedly bounced is not sent. A check before you send finds the addresses that would bounce.
Try it
Upload your Mailjet export for bulk email verification, or check one address in the free email checker.
Related
- Validate emails in Mailjet: the setup guide.
- Bulk lists: upload, cost and result columns.
- Statuses, reasons and actions.
Related guides
- How to clean an email list
- Cleaning a Brevo contact list
- Cleaning a SendGrid contact list
- How email services suppress bounced addresses
- Re-engagement campaigns and sunset policies
- All guides
Sources
Mailjet's developer documentation below was read on 2026-12-03.
- Mailjet: Event types: bounce events, whether the error was permanent and whether it leads to the recipient being blocked;
preblockedblocks every message. - Mailjet's event guide (Mailjet's own API guides):
preblockedfor an address that recently or repeatedly bounced, and blocked sends to a recipient who reported spam. - Mailjet: Manage your exclusion list: no marketing email to excluded contacts, Send API messages still delivered, exclusion for the whole account, the
excludemarketingandincludemarketingmethods. - Mailjet: Manage contacts via CSV upload: property names in the first row, the
addforce,addnoforce,removeandunsubmethods, several hours for a large import.
More on Mailjet
How we wrote this: drafted by the email-validation.org team with the help of AI writing tools, from our product documentation and the sources linked in the text.