# Work Email Finder: Find Email by Name & Company Domain (`greyridge-signals/email-finder`) Actor

Find a person's work email from their name and company domain. Returns ranked candidates, each with a confidence score, role and catch-all flags, and the MX provider — plus what guessers skip: per-candidate provenance, and the naming pattern confirmed from the company's own site. Keyless. $5/1k.

- **URL**: https://apify.com/greyridge-signals/email-finder.md
- **Developed by:** [Rez Archer](https://apify.com/greyridge-signals) (community)
- **Categories:** Lead generation, Social media, Automation
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$5.00 / 1,000 email 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 Finder — name + domain to work email

Give this actor a person's name and their company domain. It returns the most
likely work-email addresses, ranked, with a plain reason for each rank and an
honest confidence score. It never pretends to have checked a mailbox it could
not reach.

Built for sales, recruiting and enrichment pipelines that already know *who* and
*where*, and need the address — at scale, by API, billed per `found` person.

### What you get for each person

```json
{
  "query": "Patrick Collison",
  "domain": "stripe.com",
  "status": "found",
  "best_guess": "patrick.collison@stripe.com",
  "confidence": 0.9,
  "candidates": [
    { "email": "patrick.collison@stripe.com", "format": "first.last",
      "confidence": 0.9, "provenance": ["matches_company_format"], "is_role": false, "flags": [] },
    { "email": "pcollison@stripe.com", "format": "flast",
      "confidence": 0.3, "provenance": ["format_prior"], "is_role": false, "flags": [] }
  ],
  "mx_provider": "Google Workspace",
  "catch_all": null,
  "pattern_source": "company_site",
  "addresses_found_on_site": [{ "email": "press@stripe.com", "source_url": "https://stripe.com/contact" }],
  "field_safety": { "injection_suspected": false, "injection_risk": "none", "findings": [] }
}
```

- **`best_guess`** — the top-ranked address.
- **`candidates`** — up to ten addresses, highest confidence first, each with the
  naming `format` it uses and `provenance` for why it ranks where it does.
- **`confidence`** — 0–1. A guess from format prevalence alone is capped well
  below an address the company's own site confirms, so evidence always outranks a
  guess.
- **`status`** — `found` (an address or the exact naming format was confirmed on
  the company site), `likely` (ranked from format prevalence on a live-mail
  domain), or `not_found` (no mail route, no name, or no domain).
- **`site_scrape_blocked`** — present only when the site scrape was refused: the domain
  resolves to a private or internal address, or its pages redirect to a different
  company's domain. The row then falls back to format prevalence.
- **`pattern_source`** — `company_site` when the ranking used a real address
  found on the domain; `format_prior` when it fell back to format prevalence.

### How it ranks

1. **Resolve the domain's mail.** MX records are looked up and the provider is
   named (Google Workspace, Microsoft 365, Proofpoint, …). A domain with no mail
   route returns `not_found` and is never billed. `likely` results are not billed either.
2. **Read the company's own site.** A few public pages (home, contact, about,
   team) are fetched and every same-domain address on them is collected. If one
   matches the organisation's naming format — say `jane.doe@` — the matching
   candidate for your person is promoted to the evidence tier. Addresses found
   are returned with their source URL.
3. **Generate and score candidates.** The standard corporate formats
   (`first.last`, `flast`, `first`, `firstlast`, …) are built from the name and
   ranked by how common each format is across real organisations, adjusted for
   the domain's mail posture.
4. **Flag what weakens a guess.** Catch-all domains (every address is accepted,
   so acceptance proves nothing), role addresses, and free-provider domains are
   flagged rather than hidden.

### Honesty, by design

Cloud runtimes block outbound port 25, so this actor **cannot** open a mailbox
and will not claim it did. When it can reach a mail server it probes for a
catch-all domain; otherwise `catch_all` is `null` (unknown), never guessed. No
candidate is ever labelled "verified deliverable" from a blocked connection. This
is the same posture the better finders take — a best-guess from the naming
pattern — stated openly.

### Prompt-injection screen

Addresses are often pulled from contact pages whose text an agent then feeds
straight into its own model. Each run screens that scraped text for indirect
prompt-injection and tool-poisoning patterns (including obfuscated and
hidden-in-comment payloads) and reports the result in `field_safety` — flag only,
nothing is rewritten. Most finders return scraped text with no such check.

### Input

| Field | Type | Notes |
|-------|------|-------|
| `people` | array | Required. Each item: a name (`fullName`, or `firstName` + `lastName`) and a domain (`domain`, or `url` / `website` / `company` email to derive it). |
| `scrapeCompanySite` | boolean | Default true. Fetch the company site to confirm the naming format. |
| `smtpCatchAll` | boolean | Default true. Probe for a catch-all domain when port 25 is open. |
| `maxSitePages` | integer | Default 5. Public pages to try per domain. |
| `dedupe` | boolean | Default true. Resolve each name+domain pair once. |
| `maxItems` | integer | Safety cap on people processed. |

### Pricing

$5 per 1,000 people (`$0.005` each), charged only when `status` is `found`: an
address, or the company's naming format, was confirmed on the company's own site.
`likely` rows (a ranked guess from format prevalence, nothing confirmed) are
returned **free**, as are people with no domain, no name, a dead domain, or an
error. See `.actor/PRICING.md`.

### Sources and lawful use

Public DNS (MX records) and the company's own public web pages. No logins, no
account-existence probing, no paid data API. Addresses are inferred from public
naming patterns and confirmed, where possible, against addresses the company has
chosen to publish on its own site.

# Actor input Schema

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

One object per person. Give a name (fullName, or firstName and lastName) and a company domain (domain, or a website/url/company email to derive it from). Example item: {"fullName": "Jane Doe", "domain": "stripe.com"}.

## `scrapeCompanySite` (type: `boolean`):

When on, the actor fetches a few public pages (home, contact, about, team) on the domain, collects any same-domain addresses it finds, and uses them to confirm the organisation's naming format. Found addresses are returned with their source URL. Turn off for a pure pattern-based run.

## `smtpCatchAll` (type: `boolean`):

When on, the actor first tests whether this runtime can open outbound port 25. If it can, it asks the mail server about a random non-existent address: if that is accepted, the domain is a catch-all and SMTP acceptance proves nothing, which is reflected in the scoring. If port 25 is blocked, catch_all is reported as null (unknown), never guessed.

## `maxSitePages` (type: `integer`):

How many public pages to try per company domain during the site scrape.

## `dedupe` (type: `boolean`):

Resolve each name+domain pair once. Duplicates are not output and not charged.

## `maxItems` (type: `integer`):

Safety cap. People beyond this number are left unprocessed and not charged.

## `smtpHelo` (type: `string`):

Host name announced during the catch-all probe. Defaults to the container host name. Only used if port 25 is open.

## `smtpMailFrom` (type: `string`):

Address used in MAIL FROM during the catch-all probe. Use one at a domain you control. Defaults to postmaster@<EHLO name>. Only used if port 25 is open.

## Actor input object example

```json
{
  "people": [
    {
      "fullName": "Patrick Collison",
      "domain": "stripe.com"
    },
    {
      "firstName": "Jane",
      "lastName": "Smith",
      "domain": "apify.com"
    },
    {
      "fullName": "No Such Person",
      "domain": "no-such-domain-4821937.com"
    }
  ],
  "scrapeCompanySite": true,
  "smtpCatchAll": true,
  "maxSitePages": 5,
  "dedupe": true,
  "maxItems": 10000
}
```

# Actor output Schema

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

One row per person, with ranked candidate addresses, in the default dataset.

## `overview` (type: `string`):

Open the run results in the Apify Console.

# 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 = {
    "people": [
        {
            "fullName": "Patrick Collison",
            "domain": "stripe.com"
        },
        {
            "firstName": "Jane",
            "lastName": "Smith",
            "domain": "apify.com"
        },
        {
            "fullName": "No Such Person",
            "domain": "no-such-domain-4821937.com"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("greyridge-signals/email-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 = { "people": [
        {
            "fullName": "Patrick Collison",
            "domain": "stripe.com",
        },
        {
            "firstName": "Jane",
            "lastName": "Smith",
            "domain": "apify.com",
        },
        {
            "fullName": "No Such Person",
            "domain": "no-such-domain-4821937.com",
        },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("greyridge-signals/email-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 '{
  "people": [
    {
      "fullName": "Patrick Collison",
      "domain": "stripe.com"
    },
    {
      "firstName": "Jane",
      "lastName": "Smith",
      "domain": "apify.com"
    },
    {
      "fullName": "No Such Person",
      "domain": "no-such-domain-4821937.com"
    }
  ]
}' |
apify call greyridge-signals/email-finder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,greyridge-signals/email-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/8RzpQ8PIfXqUX9n3W/builds/daBXLiMsD3YJk1QLt/openapi.json
