# Email Pattern Finder – Company Email Format by Domain (`gazidev/email-pattern-finder`) Actor

Find a company's email format (first.last@, f.last@, flast@ ...) from addresses published on its own website, with confidence score and evidence. Role addresses listed separately, MX provider, SPF and DMARC included. No SMTP probing. Pay only when a pattern is found.

- **URL**: https://apify.com/gazidev/email-pattern-finder.md
- **Developed by:** [Cemal Atakli](https://apify.com/gazidev) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 email pattern founds

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 Pattern Finder – Company Email Format by Domain

Find out **how a company writes its email addresses** – `first.last@`, `f.last@`, `flast@`, `first@` and more –
from the addresses the company publishes on **its own website**. Every result comes with a **confidence score and the
evidence** (which addresses, which names, which pages), plus the company's **mail provider (MX)**, **SPF** and
**DMARC** from public DNS. Generic role addresses (`info@`, `sales@`, `press@`, `berlin@`) are listed separately.

**You pay only when a pattern is found.** Domains where no pattern can be inferred are free rows.

### What it does

For each domain you give it, the Actor:

1. Reads up to 8 pages of the company's own site (homepage, team / people, about, contact, imprint, press, careers),
   honouring `robots.txt` and crawl-delay. Plain HTTP, no browser, no third-party data sources.
2. Extracts published addresses (mailto links, text, Cloudflare-protected and `[at]`/`(dot)`-obfuscated addresses).
3. Splits them into **role addresses** (info@, sales@, support@, office/location boxes) and **personal ones**.
4. Explains each personal address with a **name found on the same site** (team cards, imprint, press contacts,
   schema.org `Person`): `svenja.schmitz@` + "Svenja Schmitz" → `first.last`. Addresses without a matching name
   count with a lower weight from their shape only (`j.smith@` → `f.last`).
5. Picks the dominant pattern and scores it (0–1). A pattern is reported at confidence ≥ 0.6 (configurable).
6. Optionally generates **candidate addresses** for the people you supply (`firstName`, `lastName`, `domain`),
   clearly marked `verified: false`. German-style transliteration (Müller → `mueller`) is applied when the site's
   own addresses or its .de/.at/.ch domain show it.

**What it does NOT do:** no SMTP / RCPT probing, no "email verification", no catch-all test, no LinkedIn or
search-engine scraping, no people-search databases. Candidate addresses are educated guesses from a public pattern.

### Use cases

- **Cold outreach & sales ops:** you have names + company domains (CRM export, event list, registry data) and need the
  address format before sending.
- **Recruiting:** reach a hiring manager at a firm whose format you don't know.
- **Data enrichment pipelines:** add `pattern`, `mxProvider` (Google Workspace / Microsoft 365 / ...) and DMARC policy
  to company records.
- **Deliverability checks:** see which domains enforce DMARC `reject` before you send.

### Input example

```json
{
  "domains": ["hengeler.com", "noerr.com", "apify.com"],
  "people": [
    {"firstName": "Anna", "lastName": "Schmidt", "domain": "noerr.com"}
  ],
  "maxPagesPerDomain": 8,
  "minConfidence": "0.6"
}
```

Domains can also be URLs (`https://www.acme.com/team`) or email addresses (`jane@acme.com`). Consumer mailbox domains
(gmail.com, outlook.com, gmx.de ...) are skipped.

### Output example

```json
{
  "domain": "noerr.com",
  "status": "pattern-found",
  "pattern": "first.last",
  "patternExample": "jane.doe@noerr.com",
  "emailDomain": "noerr.com",
  "confidence": 0.99,
  "patternBreakdown": [{"pattern": "first.last", "addresses": 6, "weight": 5.6, "share": 1.0}],
  "personalEmails": [
    {"email": "alexander.ritvay@noerr.com", "pattern": "first.last", "method": "name-match",
     "matchedName": "Alexander Ritvay", "foundOnPages": ["https://www.noerr.com/de/..."]}
  ],
  "roleEmails": [{"email": "info@noerr.com", "foundOnPages": ["https://www.noerr.com/de/impressum"]}],
  "candidateEmails": [
    {"firstName": "Anna", "lastName": "Schmidt", "candidateEmail": "anna.schmidt@noerr.com",
     "candidatePattern": "first.last", "candidateConfidence": 0.99, "verified": false}
  ],
  "mxProvider": "Microsoft 365",
  "spfAllQualifier": "-",
  "dmarcPolicy": "reject",
  "catchAllTested": false,
  "pagesCrawled": 8,
  "charged": true
}
```

`status` is one of `pattern-found` (charged), `no-pattern` (personal addresses found but no clear pattern – see
`bestGuessPattern`), `role-emails-only`, `no-emails`, `skipped`, `error` (all free). The Output tab has three views:
**Email patterns**, **Candidate emails** (one row per person) and **Evidence**. A run summary (hit rate etc.) is
saved as `OUTPUT` in the key-value store.

### How confidence works

Each personal address adds weight to the pattern it fits: **1.0** when a name on the site explains it, **0.6** when
only its shape does (`john.smith@`), and **0.4** for single-word addresses (`jason@`), because a lone first-name
address is often a founder's alias. `confidence = share of the top pattern × (1 − 0.4^weight)`. So one name-matched
`first.last` address gives 0.6, two give 0.84, three or more ≥ 0.94. Departmental boxes that look like names
(`merchants.norway@`) are detected and moved to role addresses.

### Honest hit rate

Many companies publish **only role addresses** (or none – contact forms). In our test of 24 real company domains
(law firms, SaaS, agencies, logistics) a pattern was found for **4 (≈17%)**: law and consulting firms with
people pages hit very often (4 of 7), most SaaS/tech sites publish only `hello@`/`support@` (0 of 13), and 2 sites
blocked plain HTTP requests. That's why rows without a pattern cost nothing.

### Pricing (pay per event)

| Event | Price | When |
|---|---|---|
| Pattern found | **$0.01** per domain | Only when a pattern with confidence ≥ your threshold is found |
| Candidate email | $0.001 per person | Only for people whose domain got a pattern |
| Domains without pattern, errors, skipped | **free** | |

1,000 domains with a 25% hit rate ≈ **$2.50**.

| Actor / tool | Price per domain | Notes |
|---|---|---|
| **This Actor** | $0.01, only when a pattern is found | Evidence + MX/SPF/DMARC, no SMTP probing |
| ryanclinton/email-pattern-finder (Apify) | $0.10 per domain | Charged per domain |
| sandy_yclept/work-email-finder (Apify) | $0.01 per pattern + $0.005 per email | Verified email finder (different product) |

Prices of other Actors as listed on Apify Store in October 2026; check their pages for current pricing.

### FAQ

**Are candidate emails verified?** No. They are generated from the public pattern and marked `verified: false`. Use
your own verification tool if you need deliverability guarantees. This Actor never connects to mail servers.

**Why no pattern for a big company?** Large tech companies rarely publish staff addresses. The row is free, and
`roleEmails` / `mxProvider` are still returned.

**Does it respect robots.txt?** Yes, always. Disallowed pages are skipped and counted in `pagesSkippedByRobots`.

**Some sites return "Blocked by bot protection"?** A few sites only answer real browsers. Those rows are free.

**GDPR / privacy?** The Actor only processes business addresses that companies publish themselves on their own
sites. If you contact people with the results, you are the controller: check your legitimate interest, local
anti-spam rules (e.g. ePrivacy, CAN-SPAM) and offer an opt-out. Consumer mailbox domains are not supported.

### Use with AI agents / Apify MCP

Add this Actor as a tool in the [Apify MCP server](https://mcp.apify.com) (Claude, Cursor, ChatGPT, n8n ...). An agent
can call it with `{"domains": ["acme.com"], "people": [{"firstName": "Jane", "lastName": "Doe", "domain": "acme.com"}]}`
and read `pattern`, `confidence` and `candidateEmails` from the dataset. Via API:

```bash
curl -X POST "https://api.apify.com/v2/acts/gazidev~email-pattern-finder/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H 'Content-Type: application/json' -d '{"domains":["noerr.com"]}'
```

# Actor input Schema

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

Company domains or website URLs, one per line (e.g. `acme.com`, `https://www.acme.de/team`). An email address also works (`jane@acme.com` -> acme.com). Consumer mailbox domains (gmail.com, outlook.com ...) are skipped.

## `people` (type: `array`):

Optional list of `{"firstName": "Jane", "lastName": "Doe", "domain": "acme.com"}`. When a pattern is found for that domain, the Actor returns the candidate address (marked `verified: false`). Domains listed here are added to the domain list automatically.

## `bulkText` (type: `string`):

Domains separated by new lines, commas or spaces (e.g. pasted from a spreadsheet column).

## `maxPagesPerDomain` (type: `integer`):

Pages of the company's own site to read: homepage first, then team / people / about / contact / imprint / press / careers pages. More pages = more addresses found, slightly slower.

## `minConfidence` (type: `string`):

A pattern is reported (and charged) only at or above this confidence. Below it the row is free and shows `bestGuessPattern` for reference.

## `includeRoleEmails` (type: `boolean`):

List generic addresses (info@, sales@, press@, office/location boxes) in `roleEmails`.

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

How many domains are processed at the same time (each site is crawled politely, max 3 pages at once, honouring robots.txt crawl-delay).

## `maxDomains` (type: `integer`):

Stop after this many domains (0 = no limit). Handy for a first test of a big list.

## Actor input object example

```json
{
  "domains": [
    "hengeler.com",
    "noerr.com",
    "apify.com"
  ],
  "people": [
    {
      "firstName": "Jan",
      "lastName": "Curn",
      "domain": "apify.com"
    },
    {
      "firstName": "Anna",
      "lastName": "Schmidt",
      "domain": "noerr.com"
    }
  ],
  "maxPagesPerDomain": 8,
  "minConfidence": "0.6",
  "includeRoleEmails": true,
  "maxConcurrency": 5,
  "maxDomains": 0
}
```

# Actor output Schema

## `patterns` (type: `string`):

No description

## `candidates` (type: `string`):

No description

## `evidence` (type: `string`):

No description

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

No description

## `summary` (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": [
        "hengeler.com",
        "noerr.com",
        "apify.com"
    ],
    "people": [
        {
            "firstName": "Jan",
            "lastName": "Curn",
            "domain": "apify.com"
        },
        {
            "firstName": "Anna",
            "lastName": "Schmidt",
            "domain": "noerr.com"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("gazidev/email-pattern-finder").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": [
        "hengeler.com",
        "noerr.com",
        "apify.com",
    ],
    "people": [
        {
            "firstName": "Jan",
            "lastName": "Curn",
            "domain": "apify.com",
        },
        {
            "firstName": "Anna",
            "lastName": "Schmidt",
            "domain": "noerr.com",
        },
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("gazidev/email-pattern-finder").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": [
    "hengeler.com",
    "noerr.com",
    "apify.com"
  ],
  "people": [
    {
      "firstName": "Jan",
      "lastName": "Curn",
      "domain": "apify.com"
    },
    {
      "firstName": "Anna",
      "lastName": "Schmidt",
      "domain": "noerr.com"
    }
  ]
}' |
apify call gazidev/email-pattern-finder --silent --output-dataset

```

## MCP server setup

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

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/VzuMY9feeR3fEj7sN/builds/8Y2tPugwy2duPtgIV/openapi.json
