Last checked

How to check an email list for dead domains before you import it

This guide uses a tool we built and publish ourselves: Lepidata’s Bulk Email Validator Actor on Apify. It’s paid per result, at $0.20 per 1,000 addresses checked ($0.0002 each), with no Lepidata start fee and the same price on every Apify plan. Rows that aren’t charged, such as unknown verdicts and the example input, are free. You can also do this yourself with any DNS library: look up each domain’s MX records and compare it against a public list of disposable domains.

This is an MX-level check only. It never opens an SMTP connection, so it cannot confirm that a particular mailbox exists.

Who this is for

Anyone about to load a list of addresses they already hold into a new system: a CRM import, a newsletter platform move, a customer database merge, or a cleanup of an old signup form. It’s for lists you have the right to process, such as your own customers and signups. Follow the privacy and anti-spam laws that apply to you. Don’t use it on bought, rented or scraped lists.

Why check domains first

Most of the damage in an old list comes from a handful of problems you can spot without sending anything:

  • Typos and broken addresses that were never valid, like a missing @ or a domain with a bad label.
  • Domains that no longer exist, or that publish a null MX record (RFC 7505), which means “this domain accepts no mail”.
  • Throwaway addresses from disposable-mail services, typed into a form to get past it.
  • Shared inboxes such as info@ or support@, which you may want to treat differently from a person’s address.

All of these show up in public DNS and in the address itself. Checking them first means fewer surprises after the import, without touching anyone’s mail server.

In short

  1. Export the addresses as one column.
  2. Paste them into emails, up to 50,000 per run.
  3. Run the Actor.
  4. Filter on verdict and read reasons.
  5. Fix or drop invalid rows, review risky ones, and keep in mind that valid-mx can still bounce.

Step by step

1. Get the list into one column. Export the addresses from wherever they live now. Keep only the address column. Duplicates are fine: the Actor skips repeats within a run and checks each domain only once.

2. Paste them in. Open the Actor on Apify and switch the input to JSON. A small run looks like this:

{
  "emails": [
    "[email protected]",
    "[email protected]",
    "[email protected]"
  ]
}

Addresses at example.com are the example input: each returns one free EXAMPLE_INPUT row, no lookup is made and nothing is charged. Replace them with your own list. Set maxResults if you want to stop after a set number of checked addresses.

3. Run it. The Actor checks syntax first (RFC 5321/5322 dot-atom form, length limits and domain labels, with international domains converted to punycode). Then it looks up each domain’s mail records in DNS, once per domain per run. There is no SMTP connection, no port 25, and no RCPT or VRFY probing.

4. Read the verdicts. Every address gets one of three verdicts:

  • valid-mx: the domain has MX records, isn’t a disposable domain, and the address isn’t a role address.
  • risky: a disposable domain, a role address, or a domain with an A record but no MX record.
  • invalid: bad syntax, a domain that doesn’t exist, a null MX, or no mail records at all.

The reasons column says why, with values such as role-address, disposable-domain, domain-does-not-exist, domain-accepts-no-mail (null MX) or no-mx-record (A record only). If a DNS lookup fails or times out, the row says unknown and is not charged. Run those addresses again later.

5. Decide what to keep. Fix the obvious typos in invalid rows, or drop them. Look through the risky rows by reason: a role address at a real company may be exactly the inbox you want, while a disposable domain probably isn’t. Download the dataset as CSV or Excel, or connect it to Google Sheets through Apify’s integrations.

What you get back

One row per address:

input, email, domain, verdict, reasons, syntaxValid, hasMx, nullMx, mxHosts, disposable, role, freeProvider, note

freeProvider flags common free mailbox domains such as gmail.com or outlook.com. It’s information only and doesn’t change the verdict. note repeats on every row that this is an MX-level check and the mailbox itself was not verified.

Free rows, never charged: EXAMPLE_INPUT, unknown verdicts, invalid-input, free-plan-limit and charge-limit-reached.

Limits worth knowing

  • MX level only. A valid-mx address can still bounce, because the mailbox itself is never checked.
  • The disposable-domain list is the public-domain (CC0) disposable-email-domains project, about 10,000 domains, bundled in the Actor. Subdomains are matched too. New throwaway services appear all the time, so no list is complete.
  • Up to 50,000 addresses per run. Split bigger lists into several runs.
  • Your list is processed in memory and written only to the run’s dataset. Nothing is stored anywhere else or reused between runs.
  • Apify Free-plan accounts get up to 100 results per run.

FAQ

Does this tell me if a mailbox exists? No. It checks the address format and whether the domain is set up to receive mail. Confirming a specific mailbox would need an SMTP conversation with the mail server, and this tool never does that.

Why is sales@ marked risky? It’s a role address: a shared inbox rather than one person. It’s flagged so you can decide how to treat it. The domain may be perfectly fine.

What does a null MX mean? The domain has published a record saying it accepts no mail at all. Mail to any address there will fail, so the verdict is invalid.

Why did some rows come back unknown? The DNS lookup for that domain failed or timed out during the run. Those rows are free. Run the same addresses again later.

What does a run cost? You pay per address checked, at the price shown above, and nothing for free rows. Checking 10,000 addresses is $2.00. Set maxResults or a maximum charge per run to cap it.

Can I use it to find email addresses? No. It only checks addresses you already have and paste in. It doesn’t search for or collect addresses anywhere.

Written with AI assistance and checked by the Lepidata team.