> ## 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.

# Datagma: Find Email

> Find a verified work email from a person's name plus company domain, company name, or LinkedIn slug. Includes SDK V2 examples, schemas, and cost.

Find a verified work email from a person's name plus company domain, company name, or LinkedIn slug.

> [!NOTE]
>
> Tool ID: `datagma_find_email`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'datagma_find_email',
  {
    "firstName": "Jane",
    "lastName": "Doe",
    "fullName": "Example"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute datagma_find_email --input '{
  "firstName": "Jane",
  "lastName": "Doe",
  "fullName": "Example"
}' --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "email": "jane.doe@example.com",
    "emailDomain": "jane.doe@example.com",
    "status": "example"
  }
}
```

Use `deepline describe datagma_find_email --json` for the latest machine-readable contract.

## Input reference

Find one verified work email. Provide a person (firstName + lastName, or fullName) and a company (companyDomain, companyName, or linkedInSlug). Canonical Deepline snake\_case column names (first\_name, last\_name, full\_name, company\_name, company\_domain, domain) are accepted as input aliases.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.firstName` | `string` | No | — | Minimum length: 1. |
| `payload.lastName` | `string` | No | — | Minimum length: 1. |
| `payload.fullName` | `string` | No | — | Minimum length: 1. |
| `payload.companyDomain` | `string` | No | — | Minimum length: 1. |
| `payload.companyName` | `string` | No | — | Minimum length: 1. |
| `payload.linkedInSlug` | `string` | No | — | Minimum length: 1. |
| `payload.first_name` | `string` | No | — | Canonical Deepline input alias for `firstName`. Minimum length: 1. |
| `payload.last_name` | `string` | No | — | Canonical Deepline input alias for `lastName`. Minimum length: 1. |
| `payload.full_name` | `string` | No | — | Canonical Deepline input alias for `fullName`. Minimum length: 1. |
| `payload.company_name` | `string` | No | — | Canonical Deepline input alias for `companyName`. Minimum length: 1. |
| `payload.company_domain` | `string` | No | — | Canonical Deepline input alias for `companyDomain`. Minimum length: 1. |
| `payload.domain` | `string` | No | — | Canonical Deepline input alias for `companyDomain` (the company web domain to find the work email at). Minimum length: 1. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Find one verified work email. Provide a person (firstName + lastName, or fullName) and a company (companyDomain, companyName, or linkedInSlug). Canonical Deepline snake_case column names (first_name, last_name, full_name, company_name, company_domain, domain) are accepted as input aliases.",
    "properties": {
      "firstName": {
        "type": "string",
        "minLength": 1
      },
      "lastName": {
        "type": "string",
        "minLength": 1
      },
      "fullName": {
        "type": "string",
        "minLength": 1
      },
      "companyDomain": {
        "type": "string",
        "minLength": 1
      },
      "companyName": {
        "type": "string",
        "minLength": 1
      },
      "linkedInSlug": {
        "type": "string",
        "minLength": 1
      },
      "first_name": {
        "type": "string",
        "description": "Canonical Deepline input alias for `firstName`.",
        "minLength": 1
      },
      "last_name": {
        "type": "string",
        "description": "Canonical Deepline input alias for `lastName`.",
        "minLength": 1
      },
      "full_name": {
        "type": "string",
        "description": "Canonical Deepline input alias for `fullName`.",
        "minLength": 1
      },
      "company_name": {
        "type": "string",
        "description": "Canonical Deepline input alias for `companyName`.",
        "minLength": 1
      },
      "company_domain": {
        "type": "string",
        "description": "Canonical Deepline input alias for `companyDomain`.",
        "minLength": 1
      },
      "domain": {
        "type": "string",
        "description": "Canonical Deepline input alias for `companyDomain` (the company web domain to find the work email at).",
        "minLength": 1
      }
    },
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.email` | `string` | No | — | — |
| `result.data.emailDomain` | `string` | No | — | — |
| `result.data.status` | `string` | No | — | — |
| `result.data.patterns` | `array` | No | — | — |
| `result.data.mxfound` | `boolean` | No | — | — |
| `result.data.smtpCheck` | `boolean` | No | — | — |
| `result.data.cachAll` | `boolean` | No | — | — |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "email": {
            "type": "string"
          },
          "emailDomain": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "patterns": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "mxfound": {
            "type": "boolean"
          },
          "smtpCheck": {
            "type": "boolean"
          },
          "cachAll": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `per_result` (per result).
* Estimated Deepline credits: `0.14` per pricing unit.

## Related documentation

* [Datagma provider guide](https://deepline.com/docs/providers/datagma/guide.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


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