Guide · Clean a list in your platform
Cleaning the email addresses in Salesforce
To clean the email addresses in Salesforce, check them before you send, store each result in a field on the record, and send your list emails to a list view that leaves the bad ones out. Salesforce only flags an address after mail to it has bounced.
- Reading time
- 7 min
Choose a way
- Clean your contacts once: export them in a report, check the file, and import the results back. It takes no code. Start with step 1.
- Check every new or changed record: our Salesforce package checks Leads and Contacts when they are saved, or a whole list at once, and stores the status and reason on each record. You deploy it to your org with the Salesforce CLI. Follow the Salesforce setup guide.
What Salesforce already does on its own
- It flags hard bounces, when you turn bounce management on. Under Setup > Email > Deliverability, an admin can select Activate bounce management. After a hard bounce, Salesforce fills the Email Bounced Date and Email Bounced Reason fields and shows an alert next to the address. Soft bounces do not flag the record (Enable Email Bounce Handling).
- It stops mail to a flagged address. Other users cannot send email to the address until someone updates or confirms it (Guidelines for Configuring Deliverability Settings).
- List emails skip some records. A list email is not sent to a record whose earlier email bounced, that has no address, or that has Email Opt Out selected (Considerations for Sending List Email).
All of this happens after you send. 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 contacts in a report
A report gives you a file with each record's ID, which the import needs to find the record again.
- Create a contacts report in table form with the columns Contact ID, Account ID and Email. For leads, use a leads report with Lead ID and Email.
- Add two filters: Email Opt Out is false, and Email is not empty. Records that opted out get no list email anyway.
- Run the report, open its menu and choose Export. Choose Details Only, the format
.csv, and click Export. In Salesforce Help, these steps are in the article "Export a Report".
You need the Export Reports permission. Keep this file. If your EV fields already hold earlier results, add them to the report too, so the file is a backup of what the import will change.
Step 2: Check the file
Upload the CSV 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 your record IDs and email, 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: Add three fields for the results
- From Setup, open Object Manager and choose Contact (Find Object Management Settings).
- Open Fields & Relationships and click New.
- Choose Text, click Next, enter the label and a length, set who can see the field, choose the page layouts and click Save (Create a Custom Field).
- Do this three times, for EV Status, EV Reason and EV Action. Add them to Lead too if you checked leads.
You need the Customize Application permission.
Step 4: Import the results
Use the Data Import Wizard to update the records you exported (How do I use the Data Import Wizard to update records that match specified Salesforce IDs?):
- From Setup, find Data Import Wizard and click Launch Wizard.
- For contacts, choose Accounts and Contacts and Update existing records. Set Match Contact by and Match Account by to Salesforce.com ID, and leave the Account fields unmapped. For leads, choose Leads, Update existing records, and set Match Lead by to Salesforce.com ID.
- Upload the result file and click Next.
- Map the ID columns, then map
ev_status,ev_reasonandev_actionto the three new fields. Leave every other column unmapped, so the import changes nothing else. - Click Next and Start Import.
The wizard takes up to 50,000 records at a time (Data Import Wizard). Split a larger result file into parts. An empty cell in the file leaves the field unchanged (How to Insert or Clear Null Field Values Using Salesforce Data Import Wizard).
Step 5: Send to a list view that leaves out the remove contacts
- Open a contacts list view, open the filters and click Add Filter.
- Choose EV Action, the operator not equal to and the value
remove. Click Done and save the view (Edit List View Filters in Lightning Experience). - Send your list emails from this view (Send a List Email in Lightning Experience).
A list email counts toward your org's daily mass email limit, which Salesforce gives as typically 5,000 recipients a day (List Email Limitations). If you send from a marketing tool fed by Salesforce, give it the same filter.
A contact added after your check has no EV Action yet, so this view still includes it. Check new contacts before they get mail: repeat steps 1 to 4 for them, or use our package.
Do not select Email Opt Out for these contacts. With it selected, a person can be sent no email at all, except by users with the Send Non-Commercial Email permission (What's the Difference Between Email Opt Out and Individual Email Privacy Settings?). Keep it for people who asked not to hear from you.
Step 6: Handle the caution and retry contacts
send_with_cautionis mostly catch-all domains and role addresses such asinfo@, plus a few others such as addresses with low engagement. Keep these contacts in a list view of their own, mail it less often and watch its bounces.retry_latermeans the check got no definite answer this time, for example because the receiving server was unavailable. Keep these contacts and check them again in a few days.
Keep the contacts, do not delete them
A deleted record stays in the Recycle Bin for 15 days by default; after that Salesforce schedules it for permanent deletion (Manage the Recycle Bin in Lightning Experience). Deleting a contact also deletes its campaign history, events, notes and tasks (Considerations for Deleting Contacts). A contact whose action is remove is still a person in your CRM, with a history you may need. Keep the contact and leave it out of your mail.
Questions
Does Salesforce stop mailing bounced addresses by itself?
Yes, after the bounce, if bounce management is on. A hard bounce flags the record, and list emails skip it. A check finds the addresses that would bounce before you send to them.
Try it
Upload your Salesforce report for bulk email verification, or check one address in the free email checker.
Related
- Validate emails in Salesforce: the setup guide.
- Bulk lists: upload, cost and result columns.
- Statuses, reasons and actions.
Related guides
- How to clean an email list
- How to clean HubSpot contacts
- Cleaning the email addresses in Zoho CRM
- Cleaning the email addresses in Pipedrive
- Reduce your email bounce rate
- All guides
Sources
Salesforce's help pages below were read on 2026-11-20.
- Salesforce: Enable Email Bounce Handling: turning bounce management on, hard and soft bounces, the bounce fields and alert.
- Salesforce: Guidelines for Configuring Deliverability Settings: no email to a bounced address until it is updated or confirmed.
- Salesforce: Considerations for Sending List Email: the records a list email skips.
- Salesforce: List Email Limitations: the daily mass email limit.
- Salesforce: What's the Difference Between Email Opt Out and Individual Email Privacy Settings?: what Email Opt Out blocks.
- Salesforce Help, "Export a Report" (search Salesforce Help for the title: its old address now opens a general page): exporting details only as CSV, the permission.
- Salesforce: Find Object Management Settings and Create a Custom Field: adding text fields.
- Salesforce: Updating records that match Salesforce IDs with the Data Import Wizard, Data Import Wizard and Insert or Clear Null Field Values: matching by ID, 50,000 records at a time, empty cells unchanged.
- Salesforce: Edit List View Filters in Lightning Experience and Send a List Email in Lightning Experience: list view filters, sending from a list view.
- Salesforce: Manage the Recycle Bin in Lightning Experience and Considerations for Deleting Contacts: the 15 days by default, what is deleted with a contact.
More on Salesforce
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.