# Email List Cleaner & Validator: MX, Disposable & Role (`datacolada/email-list-cleaner`) Actor

Clean a lead list or Website Contact Finder output. This email list cleaner and validator checks syntax, MX/DNS, disposable domains, role-based addresses and likely typos. Honest status: deliverable_domain, invalid, risky or unknown. Not a mailbox check; SMTP is off by default on Apify.

- **URL**: https://apify.com/datacolada/email-list-cleaner.md
- **Developed by:** [Cyd Dunscombe](https://apify.com/datacolada) (community)
- **Categories:** Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.50 / 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.

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

## Email List Cleaner & Validator: MX, Disposable & Role

An **email list cleaner and validator** for lead lists and [Website Contact Finder](https://apify.com/datacolada/website-contact-finder) output. Paste addresses, or point it at a Contact Finder dataset, and get **one row per email** with an honest status: **deliverable_domain**, **invalid**, **risky**, or **unknown**.

This is **not a mailbox verifier**. It does **not** claim that an inbox exists or that a message will be delivered. It checks **syntax**, **normalizes** addresses (including Gmail dots and plus-tags), looks up **MX / DNS** (does this domain have mail servers?), and flags **disposable / temporary domains**, **role-based** addresses (`info@`, `sales@`, `support@`, …), **free webmail** providers, and likely **typos** (`gmal.com` → `gmail.com`).

An optional SMTP mailbox probe exists in the code, but it is **off by default** and **does not work from Apify's network** (outbound port 25 is blocked). Leave it off.

Use it to clean a list before outreach, or as a second step after Website Contact Finder. No emails are sent.

### What it checks

| Check | What it means |
|---|---|
| Syntax | Is this a well-formed email address? |
| Normalization | Lowercased domain, `mailto:` stripped, Gmail/Outlook plus-tags (and Gmail dots) folded so duplicates collapse |
| MX / DNS | Does the domain have mail servers? NXDOMAIN or no MX is **invalid**. A DNS timeout or SERVFAIL is **unknown**, not invalid. A domain with MX is **deliverable_domain**, not “valid.” |
| Disposable domain | Throwaway inboxes (Mailinator, Guerrilla Mail, YOPmail, …) are **risky** |
| Role-based | Shared or departmental local-parts (`info@`, `sales@`, `press@`, `no-reply@`, …) are **risky** even when the domain can receive mail |
| Free provider | Gmail, Outlook, Yahoo and similar are flagged; this alone does not change the status |
| Typo suggestion | Common webmail misspellings get a suggested domain |

### Status values — read these literally

| Status | When you see it |
|---|---|
| `invalid` | Bad syntax, the domain does not exist, or the domain has no mail servers |
| `risky` | Disposable domain, role-based address, or a likely typo |
| `deliverable_domain` | The domain can receive mail (it has MX or an implicit A record). **The mailbox itself was not checked.** This is the usual result for a normal personal or company address |
| `unknown` | The check was inconclusive (for example a DNS failure). Not the same as “looks fine” |

The Actor will **not** mark an address `valid` just because the syntax is fine and the domain has MX records. `valid` is reserved for a rare, optional SMTP path that is off by default and does not run on Apify.

Each row also has a machine-readable `reason`, a short `reasonDetail`, and a `confidence` of `high`, `medium` or `low`.

Shared IDs, so you can join this output to other datacolada actors:

- `emailRecordId` — stable ID for the email address
- `recordId` — stable ID for the company domain (the same value Website Contact Finder writes). If the email came from a Contact Finder row, this stays the company ID even when the address is on Gmail or another provider.

#### Example output

```json
{
  "email": "beans@monmouthcoffee.co.uk",
  "normalized": "beans@monmouthcoffee.co.uk",
  "domain": "monmouthcoffee.co.uk",
  "status": "deliverable_domain",
  "reason": "mx_found",
  "reasonDetail": "The domain has mail servers (MX). This is not a mailbox check: the address was not confirmed to exist, only that the domain can receive mail.",
  "confidence": "medium",
  "emailRecordId": "a3116603-d786-501f-a92c-262a79e13bd9",
  "recordId": "f8107a0d-ffd2-5e4a-b413-02032f9afa37",
  "isSyntaxValid": true,
  "hasMx": true,
  "isDisposable": false,
  "isRole": false,
  "isFreeProvider": false,
  "typoSuggestion": null,
  "isCatchAll": null,
  "smtpChecked": false,
  "smtpResult": null
}
```

### How to use it

1. Paste emails into **Emails** (one per line), or
2. Pick a **Website Contact Finder dataset** (or paste its ID). The Actor reads `emails`, `primaryEmail`, `email` and `emailDetails`. For other datasets, set **Email field in the dataset** (default `email`).
3. Leave **Try SMTP mailbox check** off.
4. Click **Start**. Download the results as CSV, Excel or JSON.

A run costs **$0.0005 per unique email** ($0.50 per 1,000), including invalid and risky results. Duplicates in the same run are not charged twice.

#### Input options

| Option | Default | What it does |
|---|---|---|
| `emails` | — | Addresses to check (up to 50,000 unique per run) |
| `datasetId` | — | Apify dataset ID, for example from Website Contact Finder |
| `emailField` | `email` | Field to read on non-Contact-Finder datasets. Contact Finder `emails` arrays are always read as well |
| `items` | — | Array of objects containing emails, for actor-to-actor piping |
| `smtpCheck` | false | Optional mailbox probe. Off by default. Does not work from Apify |
| `detectCatchAll` | false | Only with SMTP on: test whether the domain accepts any address |
| `normalizeGmail` | true | Fold Gmail dots/plus-tags and similar plus-tag providers |
| `maxConcurrency` | 25 | Parallel checks |
| `timeoutSecs` | 8 | DNS timeout |

#### Ready-to-run examples

##### 1. Clean a short list

```json
{
  "emails": [
    "support@apify.com",
    "beans@monmouthcoffee.co.uk",
    "temp@mailinator.com",
    "someone@gmal.com",
    "nobody@this-domain-does-not-exist-xyz123.com",
    "not-an-email"
  ]
}
```

##### 2. Clean emails from a Website Contact Finder run

```json
{ "datasetId": "YOUR_CONTACT_FINDER_DATASET_ID" }
```

##### 3. Pipe Contact Finder-style items

```json
{
  "items": [
    {
      "domain": "monmouthcoffee.co.uk",
      "recordId": "f8107a0d-ffd2-5e4a-b413-02032f9afa37",
      "emails": ["beans@monmouthcoffee.co.uk", "work@monmouthcoffee.co.uk"]
    }
  ]
}
```

### Works well with

This Actor is meant to sit next to **[Website Contact Finder](https://apify.com/datacolada/website-contact-finder)** (website email scraper). They share the same company `recordId`.

1. Run Website Contact Finder on company websites (or on a Google Maps scraper dataset). You get one row per domain, with `emails`, `primaryEmail`, and a company `recordId`.
2. Paste that run's **dataset ID** into this Actor (leave `emailField` at the default). It reads Contact Finder's `emails` arrays, `primaryEmail`, `email` and `emailDetails`.
3. You get one cleaned row per unique address, with the same company `recordId` plus a new `emailRecordId`, so you can join the two datasets.

It also accepts a plain list of emails if you are not using Contact Finder.

| Actor | How they connect |
| --- | --- |
| [Lead Deduplicator](https://apify.com/datacolada/lead-deduplicator) | Attach these email statuses back onto one company row, merged with Maps and Contact Finder data. |
| [Shopify & WooCommerce Store Checker](https://apify.com/datacolada/store-checker) | After Contact Finder, merge store metadata and cleaned emails on `recordId`. |
| [Lead Leak Audit](https://apify.com/datacolada/lead-leak-audit) | Audit the same company websites for conversion holes, then clean any emails you collect with Contact Finder. |
| [Review Response Gap Analyzer](https://apify.com/datacolada/review-gap-analyzer) | Find unanswered review gaps, collect owner emails with Contact Finder, then clean them here. |
| [Hiring Signal Tracker](https://apify.com/datacolada/hiring-signal-tracker) | When a company is hiring, collect contacts with Contact Finder and clean them here. |

### Limitations (please read)

- **This is not mailbox verification.** `deliverable_domain` means the *domain* can receive mail, not that this inbox exists or will accept your message.
- **SMTP is off by default** and, as measured on 16 November 2026, **outbound port 25 is blocked on Apify**, so a mailbox probe from this platform times out. Do not turn it on expecting a `valid` result here.
- **Role-based addresses are flagged, not rejected as fake.** `info@` and `support@` on a real company domain often exist; they are marked `risky` because they are shared inboxes, not because the domain is dead.
- **The disposable list is a snapshot** of a public CC0 blocklist (16 Nov 2026) plus suffix matching. New throwaway services may be missing.
- **Typo suggestions only cover common free webmail domains**, not misspellings of arbitrary company names.
- **DNS uses the system resolver first**, then falls back to DNS-over-HTTPS (Cloudflare, then Google) if the resolver intercepts NXDOMAIN or returns sinkhole addresses.
- This Actor **does not send email**, does not use a third-party verification API (ZeroBounce, NeverBounce, etc.), and does not collect the addresses for any purpose other than the check you ran.

You are responsible for having a lawful basis to process any personal email addresses you submit (for example under GDPR).

### Pricing

**$0.0005 per unique email checked** — $0.50 per 1,000 emails. Charged once per unique normalized address in the run, including invalid and risky results. Duplicate input lines are free.

### FAQ

**Is this an email verifier?** It is an email list cleaner and validator, not a mailbox verifier. `deliverable_domain` means the domain has mail servers, not that the inbox exists or will accept your message.

**Does it send email or use SMTP?** No emails are sent. An optional SMTP probe is off by default and does not work from Apify (outbound port 25 is blocked). Leave it off.

**What should I do with `risky` addresses?** Disposable domains and likely typos are usually worth dropping or fixing. Role-based addresses such as `info@` often exist; they are flagged because they are shared inboxes.

**Can I start from a Contact Finder dataset?** Yes. Paste that run's dataset ID into `datasetId` and leave `emailField` at the default. A plain list of emails also works.

# Actor input Schema

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

Email addresses to clean, one per line. You can also point this Actor at a Website Contact Finder dataset below. Up to 50,000 unique addresses per run.

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

Optional. Read emails from an existing Apify dataset, for example a Website Contact Finder run. Pick a dataset you have access to, or paste its ID. Emails are taken from the field set below (default 'email'), and also from Contact Finder fields: emails, primaryEmail, email and emailDetails. You can use this instead of, or together with, the Emails list.

## `emailField` (type: `string`):

Field to read when the dataset is not Contact Finder-shaped. Default 'email'. Contact Finder rows are always understood: this Actor also reads 'emails' arrays, 'primaryEmail', and 'emailDetails'. Use a dotted path for nested fields (e.g. contact.email).

## `items` (type: `array`):

Optional. Array of objects, e.g. Contact Finder rows, each with an 'emails' array, 'primaryEmail', 'email', or 'emailDetails'. Used when piping results from another actor.

## `smtpCheck` (type: `boolean`):

Optional and off by default. Not a standard cleaning step. Talks to the domain's mail server (RCPT TO, no email is sent). Outbound port 25 is blocked on Apify, so this usually times out there. Leave it off unless you are running somewhere port 25 is open. A 'valid' status is only used when the server accepts the address and a catch-all check is also on and negative.

## `detectCatchAll` (type: `boolean`):

Only used when SMTP mailbox check is on. Probes a random address at the same domain to see if the server accepts everything. If it does, the original address is marked risky (catch-all), not valid. Default off. Has no effect on Apify while port 25 is blocked.

## `normalizeGmail` (type: `boolean`):

Treat jane.doe+tag@gmail.com and janedoe@gmail.com as the same address (dots and plus-tags on Gmail, Googlemail, Outlook, Hotmail, Live, iCloud and Proton). Default true.

## `maxConcurrency` (type: `integer`):

How many emails to process at once. DNS is cached per domain. SMTP, when enabled, uses a lower internal cap so mail servers are not hammered. Default 25.

## `timeoutSecs` (type: `integer`):

Give up on a DNS or SMTP lookup after this many seconds. Default 8.

## Actor input object example

```json
{
  "emails": [
    "support@apify.com",
    "beans@monmouthcoffee.co.uk",
    "info@stumptowncoffee.com",
    "sales@stripe.com",
    "temp@mailinator.com",
    "someone@gmal.com",
    "nobody@this-domain-does-not-exist-xyz123.com",
    "not-an-email"
  ],
  "emailField": "email",
  "items": [],
  "smtpCheck": false,
  "detectCatchAll": false,
  "normalizeGmail": true,
  "maxConcurrency": 25,
  "timeoutSecs": 8
}
```

# Actor output Schema

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

No description

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

No description

# 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": [
        "support@apify.com",
        "beans@monmouthcoffee.co.uk",
        "info@stumptowncoffee.com",
        "sales@stripe.com",
        "temp@mailinator.com",
        "someone@gmal.com",
        "nobody@this-domain-does-not-exist-xyz123.com",
        "not-an-email"
    ],
    "items": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("datacolada/email-list-cleaner").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": [
        "support@apify.com",
        "beans@monmouthcoffee.co.uk",
        "info@stumptowncoffee.com",
        "sales@stripe.com",
        "temp@mailinator.com",
        "someone@gmal.com",
        "nobody@this-domain-does-not-exist-xyz123.com",
        "not-an-email",
    ],
    "items": [],
}

# Run the Actor and wait for it to finish
run = client.actor("datacolada/email-list-cleaner").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": [
    "support@apify.com",
    "beans@monmouthcoffee.co.uk",
    "info@stumptowncoffee.com",
    "sales@stripe.com",
    "temp@mailinator.com",
    "someone@gmal.com",
    "nobody@this-domain-does-not-exist-xyz123.com",
    "not-an-email"
  ],
  "items": []
}' |
apify call datacolada/email-list-cleaner --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datacolada/email-list-cleaner"
        }
    }
}
```

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/neVi3QRjyC2tQgp4R/builds/GrMYfWU8F8OIkaqNy/openapi.json
