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

# Forager: Person Contacts Lookup Work Emails

> Find a person's work email addresses from a LinkedIn handle or Forager ID. Includes SDK V2 examples, input constraints, response fields, and Deepline cost.

Find a person's work email addresses from a LinkedIn handle or Forager ID.

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

## 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(
  'forager_person_contacts_lookup_work_emails',
  {
    "person_id": 123,
    "linkedin_public_identifier": "https://www.linkedin.com/in/jane-doe",
    "do_contacts_enrichment": false
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute forager_person_contacts_lookup_work_emails --input '{
  "person_id": 123,
  "linkedin_public_identifier": "https://www.linkedin.com/in/jane-doe",
  "do_contacts_enrichment": false
}' --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",
      "email_type": "jane.doe@example.com",
      "validation_status": "valid"
    }
  ]
}
```

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

## Input reference

Person work emails request serializer.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.person_id` | `integer` | No | — | — |
| `payload.linkedin_public_identifier` | `string` | No | — | LinkedIn organization "Public identifier/Slug/ID" - "linkedin.com/in/!slug!/". |
| `payload.do_contacts_enrichment` | `boolean` | No | `false` | — |
| `payload.linkedin_url` | `string` | No | — | Compatibility alias. Deepline converts a full LinkedIn URL to linkedin\_public\_identifier before provider execution. Minimum length: 1. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Person work emails request serializer.",
    "properties": {
      "person_id": {
        "type": "integer"
      },
      "linkedin_public_identifier": {
        "type": "string",
        "description": "LinkedIn organization \"Public identifier/Slug/ID\" - \"linkedin.com/in/!slug!/\"."
      },
      "do_contacts_enrichment": {
        "type": "boolean",
        "default": false
      },
      "linkedin_url": {
        "type": "string",
        "description": "Compatibility alias. Deepline converts a full LinkedIn URL to linkedin_public_identifier before provider execution.",
        "minLength": 1
      }
    },
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `array` | Yes | — | Provider response payload. |
| `result.data[].email` | `string` | Yes | — | Format: `email`. |
| `result.data[].email_type` | `string` | Yes | — | — |
| `result.data[].validation_status` | `"valid" \| "risky" \| "invalid" \| "unknown"` | Yes | — | \* `valid` - Valid \* `risky` - Risky \* `invalid` - Invalid \* `unknown` - Unknown Allowed: `valid`, `risky`, `invalid`, `unknown`. |
| `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": "array",
        "description": "Provider response payload.",
        "items": {
          "type": "object",
          "description": "Person details email serializer, implemented for documentation.",
          "properties": {
            "email": {
              "type": "string",
              "format": "email"
            },
            "email_type": {
              "type": "string"
            },
            "validation_status": {
              "type": "string",
              "description": "* `valid` - Valid * `risky` - Risky * `invalid` - Invalid * `unknown` - Unknown",
              "enum": [
                "valid",
                "risky",
                "invalid",
                "unknown"
              ]
            }
          },
          "required": [
            "email",
            "email_type",
            "validation_status"
          ],
          "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: `1.56` per pricing unit.

## Related documentation

* [Forager provider guide](https://deepline.com/docs/providers/forager/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.