# Email Provider Checker - Google Workspace, M365, SPF, DMARC (`uianalize/email-domain-checker`) Actor

Bulk check which email provider a company uses (Google Workspace, Microsoft 365, Zoho...), its security gateway and sending tools, plus SPF, DMARC, DKIM and MTA-STS with a 0-100 score. Domains, URLs or emails. Pay per domain.

- **URL**: https://apify.com/uianalize/email-domain-checker.md
- **Developed by:** [Webstack Data](https://apify.com/uianalize) (community)
- **Categories:** Lead generation, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 domain 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 Provider Checker - Google Workspace, M365, SPF, DMARC

Paste a list of domains (or email addresses, or URLs) and find out, for each company:

- **Which email provider they use:** Google Workspace, Microsoft 365, Zoho, Proton, GoDaddy, IONOS, OVHcloud and 15 more, or self-hosted.
- **Which security gateway filters their mail:** Mimecast, Proofpoint, Barracuda, Cisco, Sophos and others.
- **Which tools send email for them**, read from SPF: SendGrid, Mailchimp, HubSpot, Salesforce, Zendesk, Klaviyo, Amazon SES and more.
- **How well their email is protected:** SPF, DMARC policy, DKIM keys, MTA-STS and BIMI, with a **0-100 score** and a list of issues.

Built by **Webstack Data**. Uses public DNS only: no API key, no proxy, no login, no personal data.

### Use cases

- **B2B lead qualification:** sell a Google Workspace or Microsoft 365 add-on? Keep only the companies on that platform.
- **Email deliverability and security audits:** spot domains without DMARC, with `p=none`, or with a broken SPF before you pitch or onboard a client.
- **Sales intelligence:** see which marketing and support tools a company uses (HubSpot, Salesforce, Zendesk, Klaviyo...).
- **Clean a contact list:** find domains that cannot receive email at all (no MX or null MX).

### Input

```json
{
  "domains": ["acme.com", "jane@example.org", "https://www.shop.example.net/about"],
  "checkDkim": true
}
```

### Output

```json
{
  "domain": "acme.com",
  "status": "ok",
  "canReceiveEmail": true,
  "emailProvider": "Google Workspace",
  "emailProviderSource": "mx",
  "securityGateway": null,
  "mxRecords": [{ "priority": 1, "host": "aspmx.l.google.com" }],
  "spf": { "record": "v=spf1 include:_spf.google.com include:sendgrid.net ~all", "allQualifier": "~all", "senders": ["Google Workspace", "SendGrid"], "directLookups": 2 },
  "dmarc": { "policy": "quarantine", "pct": 100, "reportsTo": "mailto:dmarc@acme.com" },
  "dkimSelectorsFound": ["google"],
  "mtaSts": false,
  "bimi": false,
  "verificationTokens": ["google", "facebook-domain"],
  "issues": [],
  "securityScore": 90
}
```

#### Issue codes

`NO_MX`, `NULL_MX`, `SPF_MISSING`, `SPF_MULTIPLE_RECORDS`, `SPF_ALLOWS_ALL`, `SPF_TOO_MANY_LOOKUPS` (more than 10 direct lookups), `DMARC_MISSING`, `DMARC_POLICY_NONE`, `DKIM_NOT_FOUND_COMMON_SELECTORS`, `DOMAIN_NOT_FOUND`.

**Score:** SPF valid 30, DMARC enforced 40 (or 15 with `p=none`), DKIM found 20, MTA-STS 10.

**Limits, honestly:** DKIM selectors cannot be listed through DNS, so we try the 19 most common ones. A domain may still have DKIM under a custom selector. Provider detection uses MX hosts. When a security gateway (Proofpoint, Mimecast...) hides the inbox, the provider is inferred from SPF and `emailProviderSource` says "spf".

### Pricing

Pay per event, no subscription:

- **$0.00005** per run start
- **$0.0015 per domain checked** ($1.50 per 1,000 domains)

Invalid input and DNS errors are free.

### API and automation

```bash
curl -X POST "https://api.apify.com/v2/acts/uianalize~email-domain-checker/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"domains": ["acme.com", "example.org"]}'
```

Templates and tutorials: [github.com/uunnaaiii/webstack-data](https://github.com/uunnaaiii/webstack-data).

### Other Webstack Data Actors

- [Tech Stack Detector](https://apify.com/uianalize/tech-stack-detector): CMS, ecommerce, analytics and ad pixels of any website.
- [Domain Availability Checker](https://apify.com/uianalize/domain-availability-checker): registrar, creation and expiry dates in bulk.
- [SEO Audit Crawler](https://apify.com/uianalize/seo-audit-crawler), [Broken Link Checker](https://apify.com/uianalize/broken-link-checker), [Sitemap URL Extractor](https://apify.com/uianalize/sitemap-url-extractor).

# Actor input Schema

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

One per line. Email addresses and URLs are reduced to their domain (jane@acme.com -> acme.com).

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

Try common DKIM selectors (google, selector1, selector2, k1, s1...). DKIM selectors cannot be listed, so a domain can still have DKIM under an unusual selector.

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

Domains checked in parallel.

## Actor input object example

```json
{
  "domains": [
    "apify.com",
    "shopify.com",
    "stripe.com"
  ],
  "checkDkim": true,
  "maxConcurrency": 10
}
```

# 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 = {
    "domains": [
        "apify.com",
        "shopify.com",
        "stripe.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("uianalize/email-domain-checker").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 = { "domains": [
        "apify.com",
        "shopify.com",
        "stripe.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("uianalize/email-domain-checker").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 '{
  "domains": [
    "apify.com",
    "shopify.com",
    "stripe.com"
  ]
}' |
apify call uianalize/email-domain-checker --silent --output-dataset

```

## MCP server setup

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

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/Z2oTtRep2f146h7qc/builds/1xM8wMEXrBBctMa8H/openapi.json
