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

# Instantly: List Emails

> Listing Instantly emails with mailbox and campaign filters. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Listing Instantly emails with mailbox and campaign filters.

> [!NOTE]
>
> Tool ID: `instantly_list_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(
  'instantly_list_emails',
  {
    "limit": 100,
    "starting_after": "cursor_123",
    "search": "software companies hiring engineers"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute instantly_list_emails --input '{
  "limit": 100,
  "starting_after": "cursor_123",
  "search": "software companies hiring engineers"
}' --json
```

## Example response

The static output schema lacks the details for a reliable example. Use `deepline describe instantly_list_emails --json` for the complete live contract.

## Input reference

List Instantly emails with optional query filters.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.limit` | `integer` | No | — | Minimum: 1. Maximum: 100. |
| `payload.starting_after` | `string` | No | — | Minimum length: 1. |
| `payload.search` | `string` | No | — | Minimum length: 1. |
| `payload.campaign_id` | `string` | No | — | Minimum length: 1. |
| `payload.list_id` | `string` | No | — | Minimum length: 1. |
| `payload.i_status` | `integer` | No | — | Lead interest status filter. Allowed values: 1, 2, 3, 4, 0, -1, -2, -3, -4. |
| `payload.eaccount` | `string` | No | — | Minimum length: 1. Pattern: `^[^\s@]+@[^\s@]+\.[^\s@]+$`. |
| `payload.is_unread` | `boolean` | No | — | — |
| `payload.has_reminder` | `boolean` | No | — | — |
| `payload.mode` | `"emode_focused" \| "emode_others" \| "emode_all"` | No | — | Allowed: `emode_focused`, `emode_others`, `emode_all`. |
| `payload.preview_only` | `boolean` | No | — | — |
| `payload.sort_order` | `"asc" \| "desc"` | No | — | Allowed: `asc`, `desc`. |
| `payload.scheduled_only` | `boolean` | No | — | — |
| `payload.assigned_to` | `string` | No | — | Minimum length: 1. |
| `payload.lead` | `string` | No | — | Minimum length: 1. |
| `payload.company_domain` | `string` | No | — | Minimum length: 1. |
| `payload.marked_as_done` | `boolean` | No | — | — |
| `payload.email_type` | `"received" \| "sent" \| "manual"` | No | — | Allowed: `received`, `sent`, `manual`. |
| `payload.min_timestamp_created` | `string` | No | — | Minimum length: 1. |
| `payload.max_timestamp_created` | `string` | No | — | Minimum length: 1. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "List Instantly emails with optional query filters.",
    "properties": {
      "limit": {
        "type": "integer",
        "minimum": 1,
        "maximum": 100
      },
      "starting_after": {
        "type": "string",
        "minLength": 1
      },
      "search": {
        "type": "string",
        "minLength": 1
      },
      "campaign_id": {
        "type": "string",
        "minLength": 1
      },
      "list_id": {
        "type": "string",
        "minLength": 1
      },
      "i_status": {
        "type": "integer",
        "description": "Lead interest status filter. Allowed values: 1, 2, 3, 4, 0, -1, -2, -3, -4."
      },
      "eaccount": {
        "type": "string",
        "minLength": 1,
        "pattern": "^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$"
      },
      "is_unread": {
        "type": "boolean"
      },
      "has_reminder": {
        "type": "boolean"
      },
      "mode": {
        "type": "string",
        "enum": [
          "emode_focused",
          "emode_others",
          "emode_all"
        ]
      },
      "preview_only": {
        "type": "boolean"
      },
      "sort_order": {
        "type": "string",
        "enum": [
          "asc",
          "desc"
        ]
      },
      "scheduled_only": {
        "type": "boolean"
      },
      "assigned_to": {
        "type": "string",
        "minLength": 1
      },
      "lead": {
        "type": "string",
        "minLength": 1
      },
      "company_domain": {
        "type": "string",
        "minLength": 1
      },
      "marked_as_done": {
        "type": "boolean"
      },
      "email_type": {
        "type": "string",
        "enum": [
          "received",
          "sent",
          "manual"
        ]
      },
      "min_timestamp_created": {
        "type": "string",
        "minLength": 1
      },
      "max_timestamp_created": {
        "type": "string",
        "minLength": 1
      }
    },
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Raw Instantly list emails response.

The static output schema is not available. Run `deepline describe instantly_list_emails --json` for the live contract.

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

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "description": "Raw Instantly list emails response."
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

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