# Verify Email Addresses in Bulk: Syntax, MX & Disposable (`data-done-right/email-verifier`) Actor

Verify email addresses in bulk without sending mail or probing mailboxes: RFC syntax, IDN, MX lookup, disposable, role-account and free-provider flags, typo fixes. Clear result, score and reasons per email. Pay per email checked. Does not confirm a mailbox exists.

- **URL**: https://apify.com/data-done-right/email-verifier.md
- **Developed by:** [Data Done Right](https://apify.com/data-done-right) (community)
- **Categories:** Lead generation, Developer tools, Agents
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.68 / 1,000 email checkeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Verify Email Addresses in Bulk: Syntax, MX & Disposable

**Verify email addresses** in bulk without sending a single email and without contacting any mail server. This Actor checks syntax, whether the domain can receive mail (MX records), disposable domains, role accounts, free providers and common typos, and gives every address a clear result, a score and the reasons behind it.

> **What this cannot tell you.** There is no SMTP probing and no mailbox check (every row says `mailboxChecked: false`). A `deliverable-likely` address has a valid format on a domain that accepts mail; the mailbox itself may still not exist, be full or be a catch-all. Catch-all domains cannot be detected without talking to the mail server, so this Actor does not claim to. If you need a mailbox-level answer, you need an SMTP-based service (and a clean sending IP).

**What you get**

- One row per email: `result` (deliverable-likely / risky / undeliverable / unknown), numeric `score` (0 to 90) and `reasons[]`.
- Signals: valid syntax (incl. international domains), MX hosts and mail provider, disposable domain, role account (info@, admin@), free provider, typo suggestion (gmial.com to gmail.com).
- Honest DNS handling: a missing domain (NXDOMAIN) is kept apart from a temporary DNS failure; a temporary failure is `unknown` and is never charged.

Typical use: clean a list before a campaign, block throwaway signups, fix typos in a form export, or pre-filter leads before a paid SMTP check. Available through the Apify API, CSV/Excel/JSON export, and as a tool for AI agents (MCP).

### How to verify email addresses in bulk

1. Open the Actor and paste your emails in **Email addresses** (one per line). You can also paste a text block, point to an Apify dataset, or give a public CSV URL. Sources are combined.
2. Set **Maximum emails** (default 1000). It caps the cost: 1,000 emails cost at most $2.
3. Click **Start**. A 1,000-email list finishes in about a minute, because each unique domain is looked up once and shared by all its addresses.
4. Download the dataset as CSV, Excel or JSON, or filter on `result`. The **Overview**, **Signals**, **DNS details** and **Invalid and unknown** views are built in. The run summary is in the `SUMMARY` record.

### How to run a bulk email verification from a CSV file

Put the CSV online (public link, up to 25 MB) and set **CSV file URL**. The email column is found from the header (`email`, `Work Email`, `mail`) or by content. If detection picks the wrong column, set **CSV column** to the header name or a 0-based number. Every output row carries `source: "csv"` and its `position`, so you can join the result back to your file.

### How to use it as an email validator for signups

Call the Actor from your backend with one address and read `result`. Treat `undeliverable` as a hard reject, `risky` (disposable, typo, role account, no MX) as "ask the user to confirm", and `deliverable-likely` as accepted. For a typo, show `typoSuggestion` ("Did you mean ...?").

### How to check email deliverability before a campaign

Run the list, keep `deliverable-likely`, review `risky` (role accounts are often fine for B2B), drop `undeliverable`, and re-run `unknown` later. Remember this lowers hard bounces from dead domains and typos only; it does not remove mailboxes that do not exist.

### Input

```json
{
  "emails": ["jordan.lee@gmail.com", "sam.taylor@gmai.com", "test123@mailinator.com", "info@python.org", "not-an-email@@example", "jo.smith@example.com"],
  "maxEmails": 1000,
  "suggestTypos": true
}
```

| Field | Default | What it does |
|---|---|---|
| `emails` | 6 sample emails | Emails to verify, one per line. |
| `emailsText` | empty | Pasted text; emails split on new lines, commas, semicolons, spaces. |
| `datasetId` | empty | Apify dataset to read emails from. |
| `datasetField` | `email` | Field holding the email (dotted path, list values allowed). |
| `csvUrl` | empty | Public CSV URL (up to 25 MB). |
| `csvColumn` | auto | CSV header name or 0-based column number. |
| `maxEmails` | 1000 | Maximum unique emails per run (1 to 100,000); caps the cost. |
| `deduplicate` | true | Check each address once, case-insensitive; duplicates are not charged. |
| `suggestTypos` | true | Flag typos of common providers and suggest the fix. |
| `dnsResolver` | system | `system`, `cloudflare`, `google` or `quad9` for the MX lookups. |
| `dnsTimeoutSecs` | 5 | Time allowed per domain lookup before retry (1 to 30). |
| `concurrency` | 20 | Domains looked up in parallel (1 to 50). |

### Output

Real output of the input above (shortened to two rows):

```json
[
  {
    "email": "jordan.lee@gmail.com",
    "normalizedEmail": "jordan.lee@gmail.com",
    "result": "deliverable-likely",
    "score": 90,
    "reasons": ["mx-records-found", "free-provider"],
    "syntaxValid": true,
    "domain": "gmail.com",
    "dnsStatus": "mx",
    "domainExists": true,
    "hasMx": true,
    "mxHosts": ["gmail-smtp-in.l.google.com", "alt1.gmail-smtp-in.l.google.com"],
    "mxProvider": "Google (Gmail / Workspace)",
    "isDisposable": false,
    "isRoleAccount": false,
    "isFreeProvider": true,
    "typoSuggestion": null,
    "mailboxChecked": false,
    "disposableListDate": "2026-11-01",
    "source": "list",
    "position": 1
  },
  {
    "email": "sam.taylor@gmai.com",
    "result": "risky",
    "score": 50,
    "reasons": ["mx-records-found", "possible-typo"],
    "domain": "gmai.com",
    "dnsStatus": "mx",
    "typoSuggestion": "sam.taylor@gmail.com",
    "mailboxChecked": false
  }
]
```

Other fields: `normalizedEmail`, `syntaxError`, `localPart`, `domainAscii` (punycode, international domains only), `dnsError`, `checkedAt`. The `SUMMARY` record has counts by result and DNS status, flags, top domains and MX providers, duplicates removed, rows charged and the disposable list date.

### How the result is derived

Evaluated in this order:

| Case | Result | Score | Charged |
|---|---|---|---|
| Invalid syntax (length, characters, dots, domain labels, no TLD, IP-address domain, quoted local part) | `undeliverable`, reason `invalid-syntax` | 0 | no |
| Reserved TLD (`.invalid`, `.test`, `.localhost`, `.example`, `.local` ...) | `undeliverable`, `reserved-domain` | 0 | no |
| Domain does not exist (NXDOMAIN), null MX (`MX 0 .`, the domain says it accepts no mail), or the domain exists with no MX, A or AAAA record | `undeliverable` (`domain-does-not-exist`, `null-mx-domain-accepts-no-mail`, `no-mail-servers`) | 0 | yes |
| DNS timeout, SERVFAIL or refusal after 3 tries | `unknown`, `dns-temporary-failure` | null | no |
| Otherwise | start at **90** if the domain has MX records, or **55** if it has none but an A/AAAA record (the RFC 5321 fallback, reason `no-mx-record-using-a-record`) | | yes |

Penalties for the last case: disposable domain -70, possible typo -40, role account -15, non-ASCII local part -10, MX host that cannot receive mail (such as localhost) -50. The score never goes below 5. **Score 80 or more is `deliverable-likely`, below 80 is `risky`.** The top score is 90 on purpose: nobody can promise a mailbox exists without contacting the mail server. A free provider (gmail.com, outlook.com ...) is only labelled (`free-provider`), not penalised.

Reason codes: `invalid-syntax`, `reserved-domain`, `domain-does-not-exist`, `null-mx-domain-accepts-no-mail`, `no-mail-servers`, `dns-temporary-failure`, `mx-records-found`, `no-mx-record-using-a-record`, `mx-host-cannot-receive-mail`, `disposable-domain`, `possible-typo`, `role-account`, `non-ascii-local-part`, `free-provider`.

### Data sources

- **Disposable domains:** the [disposable-email-domains](https://github.com/disposable-email-domains/disposable-email-domains) blocklist, licensed CC0 1.0 (public domain). 10,115 domains, list state of 2026-11-01 (repository commit ad41fbd). The date is in every row (`disposableListDate`) and in `SUMMARY`. New throwaway services appear daily, so a domain missing from the list is not proof that it is a real mailbox host.
- **MX lookups:** public DNS through `dnspython`, using the platform resolver or Cloudflare, Google or Quad9 if you choose.
- **Role accounts, free providers, typo domains, mail providers:** short lists maintained in this Actor. The typo check uses a table of common mistakes plus edit distance 1 against about 18 big providers, so it catches `gmial.com` or `hotmial.com`, not every mistyped company domain.

### How much does it cost

One event, **`email-checked`: $0.002 per email whose DNS check completed** ($2.00 per 1,000). Not charged: invalid-syntax rows, reserved domains, rows left `unknown` by a temporary DNS failure, removed duplicates.

| Emails | Cost (all checked) |
|---|---|
| 1,000 | $2.00 |
| 10,000 | $20.00 |
| 100,000 | $200.00 |

If 8% of a 10,000-row list is invalid or unknown, you pay for about 9,200 rows ($18.40). Set `maxEmails` or a spending limit on the run to cap the bill; the Actor stops cleanly when the limit is reached.

### Use cases

- Remove dead domains and typos from a mailing list before sending.
- Block disposable addresses at signup or in a free-trial funnel.
- Fix `gmial.com` style typos in form and event registration exports.
- Segment a lead list by free versus business domains and by mail provider (Google, Microsoft, Proofpoint ...).
- Pre-filter leads so a paid SMTP verifier only sees addresses that passed the cheap checks.

### FAQ

**Does it check that the mailbox exists?** No. It makes no SMTP connection, so it cannot know. `deliverable-likely` means: valid format, domain accepts mail, not on the disposable list, no obvious typo.

**Does it detect catch-all domains?** No. That needs SMTP probing. The Actor never claims it.

**Does it send emails or contact the people?** No. Nothing is sent and no mail server is contacted.

**Why is a Gmail address only 90 and not 100?** Because the Actor cannot see the mailbox. Every score is capped at 90 for that reason.

**What happens when DNS fails?** After 3 tries with a timeout, the row is `unknown` with `dnsStatus: temporary-failure` and is not charged. It is never marked invalid. Run those again later, or set `dnsResolver` to `cloudflare`.

**Is the disposable list complete?** No list is. It is a well-known open list of about 10,000 domains and it has a date in every row. Brand-new throwaway domains will pass until they are added.

**Why does a typo address with MX records still show as risky and not undeliverable?** Typo domains such as `gmai.com` are often registered and accept mail, so the domain check passes. The `typoSuggestion` is what tells you it is probably wrong.

### Use with the Apify API, MCP, n8n and Make

Python:

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("YOUR_USERNAME/email-verifier").call(run_input={"emails": ["jordan.lee@gmail.com", "sam@gmial.com"]})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row["email"], row["result"], row["score"], row["reasons"])
```

JavaScript:

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('YOUR_USERNAME/email-verifier').call({ emails: ['jordan.lee@gmail.com', 'sam@gmial.com'] });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.map((r) => [r.email, r.result, r.score]));
```

In n8n or Make use the Apify node/module "Run Actor", pass `emails` (or `datasetId` from a previous scraper step) and read the dataset items. For AI agents the Actor is available through the Apify MCP server; the input is a single `emails` array.

### Related tools

- Email Extractor from Text: Emails, Phones & URLs from Any Text (find the addresses first)
- Remove Duplicates: Deduplicate Datasets, CSV & Excel (clean the list before verifying)
- Work Email Finder: Find Email by Name & Domain (No SMTP)

# Actor input Schema

## `emails` (type: `array`):

Email addresses to verify, one per line (use Bulk edit to paste a long list). Example: jordan.lee@gmail.com. Duplicates are removed. No email is ever sent and no mailbox is contacted.

## `emailsText` (type: `string`):

Alternative to the list: paste a block of text with emails separated by new lines, commas, semicolons or spaces. Example: a@acme.com, b@acme.com; c@acme.com. Added after the list.

## `datasetId` (type: `string`):

Pick an Apify dataset (for example a scraper's output); the field below is read from every item. Example: a dataset ID such as aBcD1234eFgH5678i.

## `datasetField` (type: `string`):

Field of each dataset item that holds the email (or a list of emails). Dotted paths work. Example: email or contact.email. Default: email.

## `csvUrl` (type: `string`):

Public link to a CSV file (up to 25 MB). The email column is detected from the header, or set it below. Example: https://example.com/leads.csv. Public files only, no logins.

## `csvColumn` (type: `string`):

Header name (or 0-based column number) of the email column in the CSV. Leave empty to detect it automatically. Example: Work Email.

## `maxEmails` (type: `integer`):

Upper limit of unique emails checked in this run. This also caps the cost: at $0.002 per email, 1000 emails cost at most $2.

## `deduplicate` (type: `boolean`):

Check each address once (case-insensitive). Duplicates are counted in the run summary and are not charged. Example: true.

## `suggestTypos` (type: `boolean`):

Flag likely typos of common providers and suggest the fix, for example name@gmial.com becomes name@gmail.com. A flagged address is scored as risky. Example: true.

## `dnsResolver` (type: `string`):

Which DNS servers answer the MX lookups. Leave on the platform default; switch only if you see many 'unknown' rows caused by DNS failures.

## `dnsTimeoutSecs` (type: `integer`):

Maximum time for one domain's DNS lookup before it is retried. Example: 5.

## `concurrency` (type: `integer`):

Domains looked up in parallel. Each unique domain is looked up once and shared by all its emails. Example: 20.

## Actor input object example

```json
{
  "emails": [
    "jordan.lee@gmail.com",
    "sam.taylor@gmai.com",
    "test123@mailinator.com",
    "info@python.org",
    "not-an-email@@example",
    "jo.smith@example.com"
  ],
  "datasetField": "email",
  "maxEmails": 1000,
  "deduplicate": true,
  "suggestTypos": true,
  "dnsResolver": "system",
  "dnsTimeoutSecs": 5,
  "concurrency": 20
}
```

# Actor output Schema

## `results` (type: `string`):

One row per email: result, score, reasons, MX and DNS details, disposable, role and free-provider flags, typo suggestion (all items as JSON, CSV, Excel and more).

## `summary` (type: `string`):

SUMMARY record: counts by result and DNS status, flags, top domains and MX providers, disposable list date, duplicates removed, charge count and notes.

## `records` (type: `string`):

Key-value store records of this run.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "emails": [
        "jordan.lee@gmail.com",
        "sam.taylor@gmai.com",
        "test123@mailinator.com",
        "info@python.org",
        "not-an-email@@example",
        "jo.smith@example.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("data-done-right/email-verifier").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "emails": [
        "jordan.lee@gmail.com",
        "sam.taylor@gmai.com",
        "test123@mailinator.com",
        "info@python.org",
        "not-an-email@@example",
        "jo.smith@example.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("data-done-right/email-verifier").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "emails": [
    "jordan.lee@gmail.com",
    "sam.taylor@gmai.com",
    "test123@mailinator.com",
    "info@python.org",
    "not-an-email@@example",
    "jo.smith@example.com"
  ]
}' |
apify call data-done-right/email-verifier --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,data-done-right/email-verifier"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/ghmCCVbEqqfmL7C4a/builds/AIPWdcqf66YOJpFJD/openapi.json
