# Email Validator - Bulk Email List Cleaner, MX & Disposable (`ivory-nexus/email-validator`) Actor

Validate email lists before sending: syntax, domain and MX records, disposable and role-based addresses, typo suggestions (gmial.com), mail provider. Valid / risky / invalid with a score. Duplicates free.

- **URL**: https://apify.com/ivory-nexus/email-validator.md
- **Developed by:** [Yazeed Zoabi](https://apify.com/ivory-nexus) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.40 / 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 Validator – Bulk Email List Cleaner (MX, Disposable, Typos)

**Clean your email list before you send.** This Actor checks every address for correct syntax, a real domain with working mail servers (MX), **disposable / throwaway** addresses, **role-based** inboxes (info@, sales@…), **typos** (`gmial.com` → `gmail.com`) and the **mail provider** (Google, Microsoft…). Each email gets **valid / risky / invalid** and a **0–100 score**.

**Pay per email checked. Duplicates are free.** No email is ever sent.

### What does it check?

| Check | Result |
|---|---|
| ✍️ Syntax | Catches missing @, invalid characters, bad domains and TLDs |
| 🌐 Domain exists | Flags domains that don't exist (NXDOMAIN) |
| 📬 Mail servers (MX) | Confirms the domain receives email – including "null MX" domains that explicitly refuse mail |
| 🗑️ Disposable | 10,000+ throwaway domains (Mailinator, Yopmail, 10minutemail…), list updated on every run |
| 👥 Role-based | info@, sales@, support@, noreply@ and 80+ more |
| 🆓 Free provider | Gmail, Yahoo, Outlook, iCloud, Proton and 100+ more |
| 🔤 Typo suggestions | gmial.com, hotmial.com, yahooo.com, gmail.con… with the corrected address |
| 🏢 Mail provider | Google, Microsoft, Zoho, Proton, Mimecast, Proofpoint and more – from MX records |

### Works with your lead scrapers

Pick the dataset of a previous run – for example our **Website Contact Finder** (field `emails`, a list) or any leads scraper (field `email`) – and every address is validated, with your chosen fields copied next to each result.

### Use cases

- **Cold email** – remove invalid and risky addresses to protect your sender reputation and reduce bounces.
- **Lead list cleaning** – validate scraped or purchased leads before importing them into your CRM.
- **Signup forms** – check addresses in real time through the API (typos, disposable emails).
- **CRM hygiene** – find dead domains and throwaway addresses in your database.

### How to use it

1. Paste emails (one per line) – or pick a dataset from another run.
2. Choose whether role addresses and free providers count as risky.
3. Click **Start** and export the results – filter by `status` to keep only valid emails.

### Output example

```json
{
  "email": "jane@gmial.com",
  "normalizedEmail": "jane@gmial.com",
  "status": "risky",
  "score": 0,
  "reasons": ["Possible typo - did you mean jane@gmail.com?"],
  "syntaxValid": true,
  "domain": "gmial.com",
  "domainExists": true,
  "hasMxRecords": true,
  "mxRecords": ["mx.gmial.com"],
  "mailProvider": null,
  "isDisposable": false,
  "isRoleBased": false,
  "isFreeProvider": false,
  "didYouMean": "jane@gmail.com"
}
```

**Statuses:** `valid` – domain accepts email and no risk found · `risky` – disposable, typo, role-based or no MX record · `invalid` – bad syntax, domain doesn't exist or refuses email · `unknown` – DNS didn't answer (not charged, retry later).

### How much does it cost?

A small fixed price **per unique email checked** – see the pricing on this page. Duplicates and `unknown` results are **free**.

### What this Actor does not do

It does **not** connect to the mail server to test if the individual mailbox exists (SMTP check). It validates everything up to the domain's mail servers, which removes most bounces cheaply and instantly. For mailbox-level verification, use a dedicated SMTP verification service on the cleaned list.

### Use with n8n, Make, Zapier and AI agents

- **n8n / Make / Zapier** – use the Apify integration and choose this Actor.
- **API (one call, results returned directly):**

```bash
curl -X POST "https://api.apify.com/v2/acts/ivory-nexus~email-validator/run-sync-get-dataset-items" \
  -H "Authorization: Bearer YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"emails": ["jane@gmial.com"]}'
```

- **AI agents (Claude, Cursor, ChatGPT)** – via the Apify MCP server: `https://mcp.apify.com?tools=ivory-nexus/email-validator`

### More tools by Ivory Nexus

- 📇 [Website Contact Finder](https://apify.com/ivory-nexus/website-contact-finder) – find the emails first.
- 🧱 [Tech Stack Detector](https://apify.com/ivory-nexus/website-tech-stack-detector) – what tools each company uses.
- 💼 [Company Jobs Scraper](https://apify.com/ivory-nexus/company-job-listings)

### FAQ

**Will it send emails to my contacts?** Never. It only reads public DNS records.

**Why is a valid-looking email "risky"?** It is disposable, a likely typo, role-based (you can turn that off), or the domain has no MX record.

**Something not working?** Open an issue in the Issues tab – I respond quickly.

# Actor input Schema

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

Email addresses to check, one per line.

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

Optional. Pick the dataset of a previous run (for example the Website Contact Finder or a leads scraper) to validate every email in it.

## `datasetEmailField` (type: `string`):

Field that holds the email. It can also be a list of emails (Website Contact Finder: 'emails').

## `datasetFieldsToKeep` (type: `array`):

Optional. Fields to keep next to each result (prefixed with source\_), e.g. domain, companyName.

## `roleAddressesAreRisky` (type: `boolean`):

Shared inboxes often have low engagement in cold outreach.

## `freeProvidersAreRisky` (type: `boolean`):

Turn on if you only want business emails.

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

How many domains to look up at the same time.

## Actor input object example

```json
{
  "emails": [
    "hello@apify.com",
    "jane@gmial.com",
    "test@mailinator.com",
    "bob@nosuchdomain-zzq7.com"
  ],
  "datasetEmailField": "email",
  "roleAddressesAreRisky": true,
  "freeProvidersAreRisky": false,
  "maxConcurrency": 50
}
```

# Actor output Schema

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

All results with full fields.

## `resultsOverview` (type: `string`):

Compact table: email, status, score, reasons, provider, flags, typo suggestion.

# 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": [
        "hello@apify.com",
        "jane@gmial.com",
        "test@mailinator.com",
        "bob@nosuchdomain-zzq7.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("ivory-nexus/email-validator").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": [
        "hello@apify.com",
        "jane@gmial.com",
        "test@mailinator.com",
        "bob@nosuchdomain-zzq7.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("ivory-nexus/email-validator").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": [
    "hello@apify.com",
    "jane@gmial.com",
    "test@mailinator.com",
    "bob@nosuchdomain-zzq7.com"
  ]
}' |
apify call ivory-nexus/email-validator --silent --output-dataset

```

## MCP server setup

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

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/ZLSDfuk5c3dbzhEh2/builds/pDqPasnE0w01FKY3C/openapi.json
