# Bulk Email Deliverability & Domain Security Verifier (`oceanic_sky/email-deliverability-verifier`) Actor

Verify bulk email lists and audit domain email security (MX, SPF RFC 7208 10-lookup check, DMARC, DKIM, MTA-STS, BIMI) with zero external API fees. Includes 995+ disposable domains, typo suggestions, role/free classifiers, cached DNS engine, and Standby MCP Server.

- **URL**: https://apify.com/oceanic_sky/email-deliverability-verifier.md
- **Developed by:** [Sirui Wu](https://apify.com/oceanic_sky) (community)
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 emails verified

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/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

## Bulk Email Deliverability & Domain Security Verifier

**Clean bulk B2B email lists and audit domain authentication security (MX, SPF 10-lookup RFC 7208, DMARC, DKIM, MTA-STS, BIMI) at ultra-low Pay-Per-Event cost—with built-in typo correction, 500+ disposable domain detection, domain-level DNS caching, and zero anti-bot fragility.**

Works seamlessly as both a **high-speed Batch Actor** (clean 10,000+ leads in seconds) and a real-time **Apify Standby MCP Server** for Claude Desktop, Cursor, and AI RevOps agents.

***

### Why RevOps, Agencies & SaaS Teams Choose This Actor

Sending campaigns to bad email lists destroys sender reputation and burns outbound domains. Meanwhile, legacy email verification SaaS tools charge steep monthly subscriptions and still tell you nothing about a domain's **SPF, DMARC, DKIM, MTA-STS, or BIMI** security posture.

**Bulk Email Deliverability & Domain Security Verifier** solves both in one fast, DNS-native engine:

- **Zero External API Markups & Zero Anti-Bot Fragility:** Uses direct RFC-compliant validation, curated offline datasets, and native DNS resolution—delivering **99%+ run reliability** with no flaky scraping or third-party quota failures.
- **Smart Domain-Level DNS Caching:** Verifying 10,000 emails spread across 500 corporate domains performs only **500 domain DNS lookups**, keeping batch runs blazing fast and ultra-affordable.
- **Automatic Deduplication:** Canonical case and IDN normalization ensures you **never pay twice** for duplicate emails in messy CRM exports or raw CSVs.

***

### Key Features

- **RFC 5322 & IDN-Aware Syntax Validation + Raw Text/CSV Extraction:** Pass a clean `emails` array or paste messy CRM/CSV exports into `rawText`—embedded emails are automatically extracted, normalized (including IDN Punycode domains), and deduplicated.
- **Smart Typo Detection & `didYouMean` Suggestions:** Catches common typos (`gmial.com` → `gmail.com`, `outlok.com` → `outlook.com`, `yaho.com`, `hotmial.com`, and more) using Levenshtein distance against major mail providers.
- **500+ Curated Disposable / Temporary Email Blocklist:** Instantly flags burner and throwaway domains (`mailinator.com`, `guerrillamail.com`, `10minutemail.com`, `yopmail.com`, and 500+ active disposable services) to stop SaaS signup abuse and bounce traps.
- **Free Webmail & Role-Account Classification:** Flags free consumer domains (`gmail.com`, `outlook.com`, `icloud.com`, `qq.com`, `163.com`, etc.) and shared role inboxes (`info@`, `support@`, `admin@`, `sales@`, `noreply@`, `billing@`) for precise B2B segmentation.
- **Live MX Fingerprinting & Mail Provider Detection:** Resolves MX records (with A/AAAA fallback) and fingerprints enterprise providers including **Google Workspace, Microsoft 365, Cloudflare Email Routing, Zoho, Proton Mail, Fastmail, Mimecast, Proofpoint, and AWS SES**.
- **Full Domain Email Security Audit (`A+` to `F` Grade):**
  - **SPF Parser & RFC 7208 10-Lookup Validator:** Detects missing SPF, syntax errors, and broken SPF chains exceeding the strict 10-DNS-lookup limit.
  - **DMARC Policy Inspector (`_dmarc.<domain>`):** Parses `p=none | quarantine | reject`, `pct`, `rua`, and alignment posture.
  - **DKIM Selector Probing:** Probes common enterprise DKIM selectors (`google`, `selector1`, `selector2`, `k1`, `s1`, `default`, `mail`, plus custom `dkimSelectors`).
  - **MTA-STS & BIMI Discovery:** Checks `_mta-sts.<domain>` and `default._bimi.<domain>` TXT records.
- **Deliverability Verdict (`0–100`) & Actionable Remediation Notes:** Every record returns a clear `verdict` (`deliverable`, `risky`, `undeliverable`, `unknown`), `deliverabilityScore` (0–100), `domainSecurityGrade` (`A+`–`F`), and concrete `remediationNotes`.
- **Optional Non-Abusive SMTP MX Banner/EHLO Check:** Disabled by default (`enableSmtpCheck: false`) so default cloud runs remain fast, polite, and port-25 safe.

***

### High-ROI Use Cases

1. **B2B Cold Outbound & RevOps List Hygiene:** Filter out invalid syntax, typos, disposable addresses, and dead MX domains before importing leads into Apollo, HubSpot, Smartlead, or Instantly.
2. **Email Deliverability & Cybersecurity Agency Prospecting:** Run `mode: "audit_domains"` on 500 prospect domains to find companies with `domainSecurityGrade: "D"` or `"F"` (missing DMARC `p=reject` or broken SPF >10 lookups) and pitch high-ticket email authentication remediation.
3. **SaaS Signup Abuse Prevention (via MCP or API):** Flag throwaway domains and suggest typo fixes (`didYouMean`) before bad signups enter your CRM.
4. **AI Sales & Security Agents (Standby MCP Server):** Equip Claude Desktop, Cursor, or autonomous RevOps agents with `verify_emails` and `audit_domain_email_security` tools on demand.

***

### Transparent Pay-Per-Event (PPE) Pricing

Simple, transparent unit pricing—**with automatic deduplication so duplicate rows never cost extra.**

| Event Name | What It Charges For | Standard Unit Price (USD) |
| :--- | :--- | :--- |
| `actor-start` | One-time batch run initialization | **$0.005** / run |
| `email-verified` | Per unique (deduplicated) email verified across syntax, typo, disposable/role/free checks & cached DNS security | **$0.0015** / email (**$1.50 / 1,000 emails**) |
| `domain-security-audit` | Per standalone domain audited in `audit_domains` or `both` mode (MX, SPF, DMARC, DKIM, MTA-STS, BIMI) | **$0.005** / domain (**$5.00 / 1,000 domains**) |
| `mcp-tool-call` | Real-time Standby MCP tool invocation (`verify_emails` or `audit_domain_email_security`) | **$0.010** / tool call |

#### Example Cost Estimates

- **1,000 unique B2B emails (batch):** `$0.005 + (1,000 × $0.0015)` = **$1.505**
- **10,000 unique B2B emails (batch):** `$0.005 + (10,000 × $0.0015)` = **$15.005**
- **500 standalone domain security audits:** `$0.005 + (500 × $0.005)` = **$2.505**
- **100 real-time MCP checks:** `100 × $0.010` = **$1.00**

> *Volume discounts apply automatically for Apify Silver and Gold tiers. Exact live unit prices are always shown on the Apify Store **Pricing** tab before starting a run.*

***

### Input Configuration

#### Input Parameters

| Field | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `mode` | `string` | `"verify_emails"` | `"verify_emails"`, `"audit_domains"`, or `"both"`. |
| `emails` | `string[]` | `[]` | Array of email addresses to validate and verify. |
| `rawText` | `string` | `""` | Optional raw text, CSV rows, or markdown; embedded emails are automatically extracted. |
| `domains` | `string[]` | `[]` | Standalone domain names (e.g., `"stripe.com"`) for deep email security auditing. |
| `deduplicate` | `boolean` | `true` | Deduplicate canonicalized emails so duplicates are never billed twice. |
| `checkDkim` | `boolean` | `true` | Probe common enterprise DKIM selectors via DNS TXT. |
| `dkimSelectors` | `string[]` | `[]` | Additional custom DKIM selector names to probe. |
| `enableSmtpCheck` | `boolean` | `false` | Optional non-abusive TCP port-25 MX banner/EHLO reachability check. |
| `dnsTimeoutMs` | `integer` | `4000` | Timeout per individual DNS query in ms (500–30000). |
| `smtpTimeoutMs` | `integer` | `4000` | Timeout per SMTP reachability probe in ms (1000–15000). |
| `maxConcurrency` | `integer` | `20` | Max unique domains resolved concurrently (1–100). |

#### Input JSON Example

```json
{
  "mode": "both",
  "emails": [
    "alex@stripe.com",
    "founder@gmial.com",
    "temp.user@mailinator.com",
    "sales@acme-agency-example.com"
  ],
  "domains": [
    "cloudflare.com"
  ],
  "deduplicate": true,
  "checkDkim": true,
  "enableSmtpCheck": false,
  "maxConcurrency": 20
}
```

***

### Output Format & Dataset Views

Results are stored in the default Apify Dataset with two built-in Apify Console table views (**Email Deliverability Overview** and **Domain Security Posture (SPF / DMARC / DKIM)**).

#### Output JSON Example (Email Verification Record)

```json
{
  "recordType": "email_verification",
  "input": "founder@gmial.com",
  "normalizedEmail": "founder@gmial.com",
  "domain": "gmial.com",
  "verdict": "risky",
  "deliverabilityScore": 28,
  "domainSecurityGrade": "D",
  "domainSecurityScore": 35,
  "syntaxValid": true,
  "isDisposable": false,
  "isFreeProvider": false,
  "isRoleAccount": false,
  "didYouMean": "founder@gmail.com",
  "mailProvider": "Other / Custom",
  "hasMx": false,
  "spfValid": false,
  "dmarcPolicy": null,
  "dkimSelectorsFound": [],
  "remediationNotes": [
    "Probable domain typo detected: confirm whether recipient meant founder@gmail.com.",
    "Domain lacks valid MX records; outbound mail will likely bounce."
  ],
  "checkedAt": "2026-12-04T11:35:00.000Z"
}
```

#### Output JSON Example (Standalone Domain Security Audit Record)

```json
{
  "recordType": "domain_security_audit",
  "input": "cloudflare.com",
  "normalizedEmail": null,
  "domain": "cloudflare.com",
  "verdict": "domain_audit",
  "deliverabilityScore": 100,
  "domainSecurityGrade": "A+",
  "domainSecurityScore": 98,
  "syntaxValid": true,
  "isDisposable": false,
  "isFreeProvider": false,
  "isRoleAccount": false,
  "didYouMean": null,
  "mailProvider": "Google Workspace",
  "hasMx": true,
  "spfValid": true,
  "dmarcPolicy": "reject",
  "dkimSelectorsFound": ["google"],
  "remediationNotes": [
    "Strong email authentication posture: valid MX, RFC-compliant SPF, DKIM, and DMARC p=reject detected."
  ],
  "checkedAt": "2026-12-04T11:35:01.000Z"
}
```

***

### MCP Server Integration (Apify Standby Mode)

Connect AI agents directly to the Actor's built-in **Model Context Protocol (MCP)** endpoint at `/mcp` (`https://<APIFY_USERNAME>--email-deliverability-verifier.apify.actor/mcp`).

#### Available MCP Tools

| Tool Name | Purpose | Key Arguments |
| :--- | :--- | :--- |
| `verify_emails` | Validate, deduplicate, score, and classify one or more email addresses with live cached DNS MX/SPF/DMARC security checks. | `emails` (string array) or `rawText` (string), `checkDkim`, `enableSmtpCheck` |
| `audit_domain_email_security` | Run a standalone email authentication & anti-spoofing audit (`A+`–`F`) on one or more domains. | `domains` (string array), `checkDkim`, `dkimSelectors` |

#### 1. Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "email-deliverability-verifier": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://<APIFY_USERNAME>--email-deliverability-verifier.apify.actor/mcp",
        "--header",
        "Authorization: Bearer <YOUR_APIFY_API_TOKEN>"
      ]
    }
  }
}
```

#### 2. Cursor (`.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "email-deliverability-verifier": {
      "url": "https://<APIFY_USERNAME>--email-deliverability-verifier.apify.actor/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_APIFY_API_TOKEN>"
      }
    }
  }
}
```

#### 3. Generic MCP Client (Streamable HTTP / TypeScript SDK)

```ts
import { Client } from '@modelcontextprotocol/sdk/client/index.js';
import { StreamableHTTPClientTransport } from '@modelcontextprotocol/sdk/client/streamableHttp.js';

const transport = new StreamableHTTPClientTransport(
  new URL('https://<APIFY_USERNAME>--email-deliverability-verifier.apify.actor/mcp'),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${process.env.APIFY_TOKEN}`,
      },
    },
  },
);

const client = new Client({ name: 'revops-agent', version: '1.0.0' });
await client.connect(transport);

const response = await client.callTool({
  name: 'audit_domain_email_security',
  arguments: {
    domains: ['stripe.com', 'example.org'],
    checkDkim: true,
  },
});
console.log(response.content);
```

**Sample AI Agent Prompts:**

- *"Verify these 25 newsletter signups with `verify_emails`, drop disposable domains, and flag any typos I should fix."*
- *"Run `audit_domain_email_security` on our top 10 enterprise prospects and list any domains missing DMARC `p=reject`."*

***

### Compliance, Privacy & Ethical Operation

- **Public DNS Records Only:** Queries strictly standard public DNS records (`MX`, `A`, `AAAA`, `TXT` for SPF/DMARC/DKIM/MTA-STS/BIMI). Never sends emails to recipients and never performs abusive SMTP harvesting or `VRFY`/`EXPN` brute-forcing.
- **No Third-Party Data Sharing:** Submitted email addresses are validated in memory inside your isolated Apify Actor run and written only to your own private Apify Dataset.
- **Responsible Use:** Users are responsible for having a lawful basis (e.g., consent or legitimate interest under GDPR/CCPA/CAN-SPAM) for processing any email lists submitted to the Actor.

***

### Frequently Asked Questions (FAQ)

**Q: Does this Actor actually send emails to the addresses I verify?**\
A: Never. Verification relies on RFC 5322 syntax parsing, offline typo/disposable/role intelligence, and standard public DNS lookups (plus an optional non-sending MX banner/EHLO check if you opt in).

**Q: Why is `enableSmtpCheck` set to `false` by default?**\
A: Many cloud networks restrict outbound TCP port 25, and SMTP handshakes add latency. Leaving it off by default guarantees ultra-fast, 99%-reliable DNS-based verification across thousands of emails.

**Q: Does DNS verification detect catch-all mailbox existence down to the individual user?**\
A: DNS verification confirms domain existence, mail server provider, MX validity, disposable/role/free risk, typo likelihood, and domain authentication security (`SPF`/`DMARC`/`DKIM`), without sending probing spam traffic to mail servers. It flags invalid syntax, dead domains, typos, and burner addresses cleanly with zero bounce-risk side effects.

**Q: How fast is domain-level DNS caching on large lists?**\
A: If your CSV contains 10,000 contacts across 500 companies, each domain's MX/SPF/DMARC/DKIM/MTA-STS/BIMI posture is resolved once and cached in memory for the run—cutting network calls by 95%.

**Q: Will I be charged twice if my pasted `rawText` contains duplicate emails?**\
A: No—when `deduplicate: true` (the default), canonical duplicates are removed prior to billing so you only pay once per unique email.

# Actor input Schema

## `mode` (type: `string`):

Select whether to verify email addresses, run standalone domain security audits, or both.

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

List of email addresses to validate, normalize, classify, and verify against live DNS MX/SPF/DMARC records.

## `rawText` (type: `string`):

Paste raw text, CSV rows, CRM exports, or markdown; all embedded email addresses will be extracted and verified automatically.

## `domains` (type: `array`):

Standalone domain names (e.g., 'stripe.com', 'cloudflare.com') to run deep email security audits on.

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

Deduplicate email addresses after canonical case/IDN normalization so you never pay twice for duplicate entries.

## `checkDkim` (type: `boolean`):

Probe common enterprise DKIM selectors (google, selector1, selector2, k1, s1, default, mail, etc.) via DNS TXT.

## `dkimSelectors` (type: `array`):

Optional extra DKIM selector names to probe alongside the built-in common selector list.

## `enableSmtpCheck` (type: `boolean`):

Optional TCP port-25 MX banner and EHLO reachability probe. Disabled by default so batch runs stay ultra-fast and cloud port-25 safe.

## `dnsTimeoutMs` (type: `integer`):

Maximum timeout in milliseconds per individual DNS query.

## `smtpTimeoutMs` (type: `integer`):

Maximum timeout in milliseconds when enableSmtpCheck is enabled.

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

Maximum number of unique domains resolved concurrently. Domain-level caching ensures 10,000 emails across 500 domains perform only 500 domain lookups.

## Actor input object example

```json
{
  "mode": "verify_emails",
  "emails": [
    "support@github.com",
    "founder@gmial.com",
    "temp.user@mailinator.com"
  ],
  "rawText": "",
  "domains": [],
  "deduplicate": true,
  "checkDkim": true,
  "dkimSelectors": [],
  "enableSmtpCheck": false,
  "dnsTimeoutMs": 4000,
  "smtpTimeoutMs": 4000,
  "maxConcurrency": 20
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset containing all verified email records and standalone domain security audit reports.

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

Aggregated counts of deliverable, risky, undeliverable, disposable, role-based emails, domain cache hit rate, and security grade distribution.

# 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@github.com",
        "founder@gmial.com",
        "temp.user@mailinator.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("oceanic_sky/email-deliverability-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": [
        "support@github.com",
        "founder@gmial.com",
        "temp.user@mailinator.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("oceanic_sky/email-deliverability-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": [
    "support@github.com",
    "founder@gmial.com",
    "temp.user@mailinator.com"
  ]
}' |
apify call oceanic_sky/email-deliverability-verifier --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,oceanic_sky/email-deliverability-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/c1KEpFHajTKRXamRc/builds/CXFCgTwo7EDpXBMyj/openapi.json
