# Email Intelligence & Security Score (`obicodes/email-intel`) Actor

Comprehensive email intelligence in one call. Validate email format, detect disposable/role accounts, and get deep domain intelligence including WHOIS, DNS, SSL, IP Geo, ASN, mail provider detection, and an actionable email security score (SPF, DMARC, MX).

- **URL**: https://apify.com/obicodes/email-intel.md
- **Developed by:** [Obicodes](https://apify.com/obicodes) (community)
- **Categories:** Lead generation, Developer tools, SEO tools
- **Stats:** 4 total users, 1 monthly users, 82.8% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 results

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/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Email Intelligence Actor

The **Email Intelligence Actor** is a powerful API built for developers, security teams, agencies, and growth teams. In a single call, it deeply validates an email address, checks its deliverability via SMTP, flags disposable or role-based addresses, and extracts comprehensive intelligence about the email's domain—including deep DNS records and an actionable email security score (SPF, DMARC, MX).

### Features

- **Reachability & Deliverability:** Real-time SMTP validation (without sending an email) to confirm if the inbox accepts mail.
- **Email Validation:** Verify syntax, detect disposable addresses, identify role-based accounts (e.g., admin@), and check B2C vs B2B.
- **Data Enrichment:** Check for Gravatar profiles and HaveIBeenPwned breach presence.
- **DNS Records:** Full resolution of A, AAAA, MX, NS, and CNAME records, plus DNS/Mail provider detection.
- **Security Assessment:** Deep analysis of SPF and DMARC policies, giving you a clear email security score out of 100.

### Input Configuration

The Actor requires a single input parameter:

| Field   | Type   | Required | Description                              |
|---------|--------|----------|------------------------------------------|
| `email` | String | Yes      | The email address to look up.            |

#### Example Input

```json
{
  "email": "o.altman@openai.com"
}
```

### Output Structure

The Actor pushes the parsed data into an Apify Dataset. The structure merges deep domain insights with rich email deliverability data:

```json
{
  "input": "o.altman@openai.com",
  "is_reachable": "safe",
  "misc": {
    "is_disposable": false,
    "is_role_account": false,
    "is_b2c": false,
    "gravatar_url": null,
    "haveibeenpwned": null
  },
  "mx": {
    "accepts_mail": true,
    "records": [
      "aspmx.l.google.com.",
      "alt3.aspmx.l.google.com.",
      "alt4.aspmx.l.google.com.",
      "alt1.aspmx.l.google.com.",
      "alt2.aspmx.l.google.com."
    ]
  },
  "smtp": {
    "can_connect_smtp": true,
    "has_full_inbox": false,
    "is_catch_all": false,
    "is_deliverable": true,
    "is_disabled": false
  },
  "syntax": {
    "address": "o.altman@openai.com",
    "domain": "openai.com",
    "is_valid_syntax": true,
    "username": "o.altman",
    "normalized_email": "o.altman@openai.com",
    "suggestion": null
  },
  "debug": {
    "backend_name": "backend-dev",
    "start_time": "2026-04-25T15:02:33.508576876Z",
    "end_time": "2026-04-25T15:02:33.839780356Z",
    "duration": {
      "secs": 0,
      "nanos": 331203480
    },
    "smtp": {
      "verif_method": {
        "type": "Smtp",
        "host": "aspmx.l.google.com.",
        "verif_method": {
          "from_email": "hello@localhost",
          "hello_name": "localhost",
          "proxy": null,
          "smtp_port": 25,
          "smtp_timeout": null,
          "retries": 1
        }
      }
    }
  },
  "domain": "openai.com",
  "dns": {
    "a": [
      "104.18.37.111",
      "172.64.150.145"
    ],
    "aaaa": [],
    "cname": [],
    "ns": [
      "ns-1026.awsdns-00.org",
      "ns-33.awsdns-04.com",
      "ns-1981.awsdns-55.co.uk",
      "ns-967.awsdns-56.net"
    ],
    "dnsProvider": "AWS Route 53",
    "mx": [
      {
        "priority": 1,
        "exchange": "aspmx.l.google.com",
        "ttl": 300
      },
      {
        "priority": 5,
        "exchange": "alt2.aspmx.l.google.com",
        "ttl": 300
      },
      {
        "priority": 5,
        "exchange": "alt1.aspmx.l.google.com",
        "ttl": 300
      },
      {
        "priority": 10,
        "exchange": "alt4.aspmx.l.google.com",
        "ttl": 300
      },
      {
        "priority": 10,
        "exchange": "alt3.aspmx.l.google.com",
        "ttl": 300
      }
    ],
    "mailProvider": "Google Workspace",
    "ttl": 42
  },
  "emailSecurity": {
    "score": 85,
    "scoreLabel": "Excellent",
    "scoreBreakdown": {
      "spf": {
        "score": 30,
        "reason": "SPF present — policy: fail"
      },
      "dmarc": {
        "score": 25,
        "reason": "DMARC present — policy: quarantine"
      },
      "mx": {
        "score": 20,
        "reason": "5 MX record(s) found"
      },
      "verificationTokens": {
        "score": 10,
        "reason": "2 platform verification token(s) found"
      }
    },
    "spf": {
      "present": true,
      "record": "v=spf1 include:_spf.integromat.cloud include:stspg-customer.com include:_spf.google.com include:aspmx.pardot.com -all",
      "policy": "fail",
      "hasMx": false,
      "hasRedirect": false,
      "redirectTarget": null,
      "includes": [
        "_spf.integromat.cloud",
        "stspg-customer.com",
        "_spf.google.com",
        "aspmx.pardot.com"
      ],
      "passesSenderCheck": true
    },
    "dmarc": {
      "present": true,
      "record": "v=DMARC1; p=quarantine; sp=none; pct=100; rua=mailto:dmarc-make@openai.com!15m",
      "policy": "quarantine",
      "subdomainPolicy": "none",
      "percentage": 100,
      "reportingEmail": "dmarc-make@openai.com!15m",
      "forensicEmail": null,
      "dkimAlignment": "r",
      "spfAlignment": "r",
      "enforcementLevel": "moderate"
    },
    "verificationTokens": {
      "google": [
        "v5v39FtLdXxZRd5VOULejxmmSRSYwnuwllxxdM41-zo",
        "2UnraifDsIIswHB0UVbt0-_fld6jLE7mS4W4_XMFY1c",
        "xOnkUdCycV3ttFkzFjgXM9FYCJf_pM8XZcC71Hdz_vI",
        "mrHLXehcBHX_lv3znfGTT8XUy7yHbp3q6Z0WZ0lu-m8",
        "2qZcMmEJ8TrrIU07fyRbSdeMBj0pUsZikTFFjSf12hQ",
        "3XxItB46bjzKVLBUceu4d3DVhia9icdm_R1ILiJjzYY",
        "vGe_cRhLNZYfoZys_83KHEIVltA6-npXg9CeWiyCnJ0"
      ],
      "microsoft": "ms64865594"
    },
    "otherTxtRecords": [
      "figma-domain-verification=893383b40c996b12bfe88161317a2aaed4f81c3c50fbcaa518f915d4dddfd11a-1745939420",
      "atlassian-domain-verification=XaIE3u7JO4rWbkFPSG5qCuXIwQpsxjXMaMwwZzgwjZKbaamGqRO0Pqvd2FOgQnmu",
      "onetrust-domain-verification=e5fc34d5dd1340c4b2f4ac3ab8db593f",
      "openai-domain-verification=dv-yf0oWp190odi5lL9b5eQaBuH",
      "ca3-d0ec12e073974aa6bbd69241a2d926d1",
      "zoom-domain-verification=671c2b9a-11e2-11ee-be56-0242ac120002",
      "knowbe4-site-verification=724241b7758233b3cf12b30bc4ba6a7b",
      "pardot1009662=43d46613c7c36c52b03412fc89d37accde3f4ce54a7099b184d287fd5c417670",
      "anthropic-domain-verification-4gyyed=x1rwf29ACMz8Gkr7xb1KR4LRy",
      "ZOOM_verify_a28634ce96634bd69938272d541f11b1",
      "miro-verification=011c32e322c73e3b9038f4703a87469f7686caa8",
      "docusign=d2cf149d-c2e7-45f8-890b-36d903eb9242",
      "docker-verification=fcbd2f39-f64f-43bb-b241-8756190c620d",
      "docker-verification=52a77199-1b8a-4fea-9d90-7261f90e26df",
      "v=MCPv1; k=ed25519; p=NL0DU5zbxrQ0RprSY+rHrkzzXehRXp+S7JYWGbyTh+E=",
      "cursor-domain-verification-72nb5r=MKcJKgJfsPbxJnB14Q9YLASYj",
      "airtable-verification=e87436974272fbd34e20b490f0d6244e",
      "status-page-domain-verification=k00kl93mhf5x",
      "mongodb-site-verification=4bwzphppP2ygTtUX4fqePzsabCoRDoRG",
      "1password-site-verification=FHD2HDBXCJBJ3GYP5AJMEMIB3A",
      "stripe-verification=d3f9975d5a42366a871ff5daf92873a593fae98e787ba87626de04b62d65b20c",
      "zoom-domain-verification=5b00631c-b683-11ee-a506-0242ac120002",
      "hubspot-developer-verification=NWM5ZTY5MDUtNDA3Ny00YTUzLTg5NjYtYTY1MmE3NjMxOTVk",
      "ZOOM_verify_u6MwkNdolND011fn6V6nFL",
      "cursor-domain-verification-2cwwwx=4EpLxAP3JQHI3xoD2qtiJDEAq"
    ],
    "totalTxtRecords": 34
  }
}
```

### Use Cases

- **List Cleaning & Deliverability:** Prevent bounces by validating email addresses before sending campaigns.
- **Lead Scoring:** Instantly enrich email leads with domain infrastructure intelligence.
- **Fraud Prevention:** Flag disposable or high-risk email addresses during signup.
- **Security Audits:** Check your own or clients' SPF and DMARC configurations automatically.

### Integrate via API

Trigger a run and get results back synchronously:

```bash
curl -X POST \
  "https://api.apify.com/v2/acts/obicodes~email-intel/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"email": "[EMAIL_ADDRESS]"}'
```

Results are stored in Apify's dataset and downloadable as JSON or CSV from the dataset tab.

***

### Pricing

This Actor uses pay-per-event pricing:

- **$0.01** per domain result

# Actor input Schema

## `email` (type: `string`):

The email name to look up (e.g. sam@eopenai.com)

## Actor input object example

```json
{
  "email": "s.altman@openai.com"
}
```

# Actor output Schema

## `results` (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 = {
    "email": "s.altman@openai.com"
};

// Run the Actor and wait for it to finish
const run = await client.actor("obicodes/email-intel").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 = { "email": "s.altman@openai.com" }

# Run the Actor and wait for it to finish
run = client.actor("obicodes/email-intel").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 '{
  "email": "s.altman@openai.com"
}' |
apify call obicodes/email-intel --silent --output-dataset

```

## MCP server setup

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

```

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/fbFt0XPspVoEQs1ng/builds/9LJyRxjB1zzAi7n0e/openapi.json
