Guide · Clean a list in your platform

Cleaning a SendGrid contact list

To clean a SendGrid Marketing Campaigns list, check its addresses before you send, store each result in a custom field on the contact, and exclude the bad ones from your Single Sends. SendGrid suppresses an address only after mail to it has bounced, or after the person has complained or unsubscribed.

Reading time
6 min

What SendGrid already does on its own

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.

A direct connection, in testing

We have built a direct connection for SendGrid, so your contacts can be checked without a file. It is in testing and not open to every account yet. If the Integrations page of your dashboard shows a SendGrid card, you can use it. If not, use the steps below: they work today on any account with Marketing Campaigns.

With the card, you connect with a SendGrid API key that has only the Marketing permission, pick one of your Marketing Campaigns lists and click Clean. We check its contacts, at the same price as an uploaded file, and save each result on the contact in the custom fields EV_STATUS, EV_REASON, EV_ACTION and EV_CHECKED_AT. Nothing is deleted in SendGrid, and no contact is unsubscribed or added to a list.

After that, the results are already on your contacts, so go straight to step 5.

Step 1: Export the list

SendGrid's Manage contacts article gives the steps:

  1. Go to Marketing > Contacts.
  2. Open the action menu next to the list and click Export.
  3. SendGrid emails you when the export is ready. Open the Active Exports page and click Download CSV.

You can download the file for 12 hours after you started the export.

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 the columns you exported, followed by our result columns. Three of them matter here:

ColumnWhat it holds
ev_statusvalid, invalid, catch_all, unknown or disposable
ev_reasonwhy, for example no_mailbox, spamtrap or role_account
ev_actionsend, 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 custom fields for the results

Follow Personalize and segment messages with custom fields:

  1. Go to Marketing > Custom Fields and click New Custom Field.
  2. Type the name into Field Name, choose the Text field type and click Create Field.
  3. Do this three times, for EV_STATUS, EV_REASON and EV_ACTION.

A field name may hold letters, digits and underscores, and must begin with a letter or an underscore. An account can have up to 500 custom fields. Our direct connection writes to text fields of these same names, so results from both routes end up in the same place.

Step 4: Upload the results

SendGrid's Manage contacts article describes the upload:

  1. Go to Marketing > Contacts, click Add Contacts and select Upload CSV.
  2. Where SendGrid asks where to add the contacts, choose All Contacts rather than a list. The results are for contacts you already have, on the lists they are already on.
  3. Add the result file and click Next: Review CSV Upload.
  4. Map ev_status, ev_reason and ev_action to the three new fields. Choose Skip Column for every other column except the email address.
  5. Click Next: Add Contacts. SendGrid emails you a CSV of any contacts that failed to upload.

One file can hold up to one million contacts or 5 GB, whichever is less.

SendGrid's article does not say how an upload treats a contact that already exists. It does say that a contact's identifier, by default its email address, must be unique among the contacts in your account. So upload a file of two or three rows first, open one of those contacts and check that the three fields are filled and nothing else changed. Then upload the rest.

Step 5: Leave the remove contacts out of your Single Sends

Build the segment as Segmenting your contacts describes:

  1. Go to Marketing > Contacts, open the Create dropdown and choose New Segment.
  2. Name the segment, for example "EV remove", and choose Segment all contacts.
  3. Under Who are you targeting?, pick the EV_ACTION field, the operator is and the value remove.
  4. Click Save Segment.

When you set up a Single Send, turn on Exclude specific recipients and pick this segment. SendGrid leaves every contact of an excluded segment out of the send (Single Sends). Give the segment time to fill before you send: SendGrid says contacts that meet a segment's conditions typically appear within 15 minutes.

A contact added after your check has no EV_ACTION yet, so it is not in this segment and still gets mail. Check new contacts before they get mail by repeating steps 1 to 4 for them.

Step 6: Handle the caution and retry contacts

Exclude first, delete with care

SendGrid's own advice is to delete addresses it already suppresses from your lists. For a contact whose action is remove but who has not bounced, excluding it as in step 5 is enough, and you keep the contact's history. If you delete a contact and add it again later, SendGrid counts it toward your monthly limit of added contacts.

Leave bounced addresses on the bounce list. SendGrid lets you delete an entry from that list, and then allows mail to the address again (Manage bounced messages). Do that only when you know the address works. Otherwise the next send bounces again.

Questions

Does SendGrid stop mailing bounced addresses by itself?

Yes, after the bounce. SendGrid lists the address and suppresses later mail to it, and each suppressed attempt still uses an email credit. A check finds the addresses that would bounce before you send to them.

Try it

Upload your SendGrid export for bulk email verification, or check one address in the free email checker.

Sources

Twilio's SendGrid pages below were read on 2026-11-20.

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.

Get up to 500 free credits. No card needed.

New accounts get 500 free credits (100 when you sign up with a free email provider such as Gmail, Outlook or Yahoo, another personal mailbox such as a paid one like Fastmail or one from your internet provider, or an address from a relay or alias service). Try it on your own list before you buy.

Updated · Maintained by: Email Validation LLC