> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Find work emails | Agent guide

> Find work emails from names and domains or LinkedIn profiles, then check identity and validation evidence.

[Human guide: task steps and agent prompt →](https://deepline.com/docs/human/plays/email-waterfall.md)

Choose a maintained work-email Play for the identifiers you have. Its result
needs a person and current-employer match as well as the declared validation
rule; a returned address alone does not establish permission to send.

## Choose a single lookup or a batch

| Input | Contract to inspect |
| - | - |
| First name, last name, company domain; one person | `prebuilt/name-and-domain-to-email-waterfall` |
| The same fields in a CSV | `prebuilt/name-and-domain-to-email-waterfall-batch` |
| A matched LinkedIn person URL | `prebuilt/person-linkedin-to-email` |

For a LinkedIn CSV, inspect the corresponding batch variant in the live
catalog. Do not substitute a LinkedIn-only row into the name-and-domain
contract. Keep missing and ambiguous identity rows explicit.

[Inspect the selected Play](https://deepline.com/docs/sdk-v2/prebuilt-plays.md) for current provider order,
availability, validation gates, output fields, and price. Asking for an extra
verifier does not change the maintained implementation.

## Run one person

Replace this illustrative identity with an authorized record. This starts
provider work and can incur Deepline usage:

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline plays run prebuilt/name-and-domain-to-email-waterfall \
  --input '{"first_name":"Jane","last_name":"Smith","domain":"example.com"}' \
  --watch
```

[Inspect the saved run](https://deepline.com/docs/sdk-v2/calling-plays.md#inspect-and-export-an-existing-run).
Check the person and current employer, email source, validation outcome,
rejected candidates, and no-result reason. The Play
continues only according to its declared acceptance rule and can finish
without an accepted email. `email_validated` records its validation gate; it
does not guarantee future delivery or current employment. Apply
[your pre-send policy](https://deepline.com/docs/guides/automated-email-verification.md) separately.

## Use a CSV

Prepare `leads-pilot.csv` with [the CSV guide](https://deepline.com/docs/sdk-v2/batch-csv.md), preserving source
IDs and including a sparse or ambiguous identity. For lowercase headers, map
`first_name`, `last_name`, and `domain` explicitly:

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline plays run prebuilt/name-and-domain-to-email-waterfall-batch \
  --csv leads-pilot.csv \
  --columns.first_name first_name \
  --columns.last_name last_name \
  --columns.domain domain \
  --watch
```

Reconcile source IDs with accepted emails, misses, rejected candidates,
identity conflicts, and provider errors. Inspect attempt evidence so an earlier
candidate cannot override a later rejection. A timeout supplies no coverage
conclusion.

After identity, validation, exception counts, output columns, and usage pass
review, reuse the same mappings with `--csv leads.csv`. Sending and sequencer
enrollment remain separate actions.

## Compare cost per accepted result

Hold the sample, date, and identity/validation policy constant when comparing
routes. Count incremental accepted coverage only on previously unresolved
rows; duplicate accepted emails are not new coverage. Divide recorded Deepline
usage, including retries, by unique accepted identities. For example, a
hypothetical 12 credits for 80 accepted identities is 0.15 credits per accepted
identity, even if the batch attempted 200 rows.

A request can incur usage without a usable result; misses and refreshes can
incur usage again. [Cost control](https://deepline.com/docs/cost-control.md) covers scoped usage, billing
modes, and cache reuse.

## Own a different route

For another provider order or validation gate, author a [custom Play](https://deepline.com/docs/sdk-v2/plays.md)
with explicit identity, acceptance, fallback, and no-result rules. The checked
source owns that route.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.