# 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:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=obicodes/email-intel",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Email Intelligence & Security Score",
        "description": "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).",
        "version": "1.0",
        "x-build-id": "9LJyRxjB1zzAi7n0e"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/obicodes~email-intel/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-obicodes-email-intel",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/obicodes~email-intel/runs": {
            "post": {
                "operationId": "runs-sync-obicodes-email-intel",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/obicodes~email-intel/run-sync": {
            "post": {
                "operationId": "run-sync-obicodes-email-intel",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "email"
                ],
                "properties": {
                    "email": {
                        "title": "email",
                        "type": "string",
                        "description": "The email name to look up (e.g. sam@eopenai.com)"
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
