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

# Verify Email

> Configure a workflow step that checks whether email addresses can receive mail before you send to them

Use **Verify Email** when you want a workflow to check email addresses before anyone writes to them. For each address the step says whether it is valid, risky, invalid or unknown, and whether it is safe to send to.

## Configuration

| Option | Required | Description |
| - | - | - |
| Name | No | Label for the step in the workflow canvas. |
| Email addresses | Yes | One address, or up to 25, one per line or separated by commas. This field supports workflow variables through **Insert Variable**, including a list of addresses or a list of objects that each have an `email` field. |
| Check depth | No | **Mailbox** asks the recipient's mail server whether the mailbox exists. **Domain only** checks the address and that its domain can receive mail, which is faster but cannot tell whether the person's mailbox exists. The default is **Mailbox**. |
| When the step fails | No | Controls whether the workflow should **Terminate Workflow** or **Continue** if this step fails. |

Add this step from the **Research** group in **Search steps...**.

A mailbox check usually takes a few seconds per address, and a slow mail server can take up to a minute. Addresses are checked a few at a time.

## Output

Click **Run** in the step header to test the step. Fetch Hive shows the results in **Output** after the run completes.

The output is an object. The results are in `results`, in the same order as the addresses you gave:

```text theme={null}
{{step_2.output.results.0.status}}
```

| Field | Description |
| - | - |
| `depth` | `mailbox` or `domain`. |
| `checked_count` | Number of addresses checked. |
| `counts` | How many addresses got each status: `valid`, `risky`, `invalid` and `unknown`. |
| `results` | One entry per address. |

Each result has:

| Field | Description |
| - | - |
| `email` | The address, in lower case. |
| `status` | `valid`, `risky`, `invalid` or `unknown`. |
| `reason` | Why, when the status is not plain `valid`: `catch_all`, `role_account`, `inbox_full`, `disposable`, `disabled`, `spam_trap`, `mailbox_not_found`, `invalid_syntax`, `no_mail_server` or `check_failed`. |
| `safe_to_send` | `true` only when the mailbox was checked and accepts mail. |
| `mailbox_checked` | `false` when **Domain only** was used, or the mailbox could not be checked. |
| `score` | A confidence score from 0 to 100, when available. |
| `catch_all` | `true` when the domain accepts mail for any address, so the mailbox cannot be confirmed. |
| `role_account` | `true` for a shared address such as `info@` or `sales@`. |
| `disposable` | `true` for a throwaway address. |
| `free_email` | `true` for a free provider such as Gmail. |
| `domain_accepts_mail` | `true` when the domain has a mail server. |

What the statuses mean:

| Status | Meaning |
| - | - |
| `valid` | The address can receive mail. |
| `risky` | It may receive mail, but sending carries risk: a catch-all domain, a shared inbox or a full inbox. |
| `invalid` | Do not send: no such mailbox, a broken address, a throwaway address, a disabled account or a spam trap. |
| `unknown` | The check gave no answer, for example because the mail server did not respond. Unknown results are not charged. |

## Example

Add **Verify Email** from the **Research** group in **Search steps...**.

Set **Name** to something like `Check lead email`.

In **Email addresses**, insert the variable that holds the address, for example `{{step_3.output.email}}`.

Leave **Check depth** on **Mailbox**, click **Run**, and review the result in **Output**.

To act on the answer, add a **Condition** step that checks `{{step_4.output.results.0.safe_to_send}}`.

To check a longer list, put the step inside an **Iteration** step.

## Notes

* Each address checked costs a small amount. Addresses with broken syntax, and results that come back `unknown`, cost nothing.
* A `risky` result with reason `catch_all` is common for company domains. The address may well work, but it cannot be confirmed before you send.
* The step checks up to 25 addresses per run. Use an **Iteration** step for longer lists.

See also: [Exa Websets](./exa-websets), [Condition](https://docs.fetchhive.com/workflows/steps/utility/condition.md), and [Testing and Iteration](https://docs.fetchhive.com/workflows/testing-and-iteration.md)


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