> ## 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 Account Operations: Inputs, Cost & CLI Example

> Creating an Instantly email account. Includes inputs, outputs, pricing notes, Deepline CLI examples, and GTM automation guidance.

## Run in Enrichment Spreadsheet

<Info>
  Use this function as a column step in `deepline enrich`.
</Info>

```bash theme={null}
deepline enrich --input leads.csv --output leads.enriched.csv --with 'result=instantly_create_account:{"email":"{{email}}","provider_code":"{{provider_code}}"}' --json
```

<Tip>
  Map payload values to spreadsheet columns with `{{column_name}}` placeholders.
</Tip>

## Input Schema

| Name                           | Type      | Required | Default | Description                                                                        |
| ------------------------------ | --------- | -------- | ------- | ---------------------------------------------------------------------------------- |
| `payload.first_name`           | `string`  | No       |         |                                                                                    |
| `payload.last_name`            | `string`  | No       |         |                                                                                    |
| `payload.email`                | `string`  | Yes      |         |                                                                                    |
| `payload.imap_username`        | `string`  | No       |         |                                                                                    |
| `payload.imap_password`        | `string`  | No       |         |                                                                                    |
| `payload.imap_host`            | `string`  | No       |         |                                                                                    |
| `payload.imap_port`            | `integer` | No       |         |                                                                                    |
| `payload.smtp_username`        | `string`  | No       |         |                                                                                    |
| `payload.smtp_password`        | `string`  | No       |         |                                                                                    |
| `payload.smtp_host`            | `string`  | No       |         |                                                                                    |
| `payload.smtp_port`            | `integer` | No       |         |                                                                                    |
| `payload.warmup_limit`         | `integer` | No       |         |                                                                                    |
| `payload.daily_limit`          | `integer` | No       |         |                                                                                    |
| `payload.tracking_domain_name` | `string`  | No       |         |                                                                                    |
| `payload.provider_code`        | `integer` | Yes      |         | Email provider type (1=Custom IMAP/SMTP, 2=Google, 3=Microsoft, 4=AWS, 8=AirMail). |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Create an Instantly email account.",
    "properties": {
      "first_name": {
        "type": "string",
        "minLength": 1
      },
      "last_name": {
        "type": "string",
        "minLength": 1
      },
      "email": {
        "type": "string",
        "minLength": 1,
        "pattern": "^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$"
      },
      "imap_username": {
        "type": "string",
        "minLength": 1
      },
      "imap_password": {
        "type": "string",
        "minLength": 1
      },
      "imap_host": {
        "type": "string",
        "minLength": 1
      },
      "imap_port": {
        "type": "integer",
        "minimum": 1,
        "maximum": 65535
      },
      "smtp_username": {
        "type": "string",
        "minLength": 1
      },
      "smtp_password": {
        "type": "string",
        "minLength": 1
      },
      "smtp_host": {
        "type": "string",
        "minLength": 1
      },
      "smtp_port": {
        "type": "integer",
        "minimum": 1,
        "maximum": 65535
      },
      "warmup_limit": {
        "type": "integer",
        "minimum": 0
      },
      "daily_limit": {
        "type": "integer",
        "minimum": 0
      },
      "tracking_domain_name": {
        "type": "string",
        "minLength": 1
      },
      "provider_code": {
        "type": "integer",
        "description": "Email provider type (1=Custom IMAP/SMTP, 2=Google, 3=Microsoft, 4=AWS, 8=AirMail)."
      }
    },
    "required": [
      "email",
      "provider_code"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

Output schema is not available yet.

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

  ### Output JSON Schema

  ```json theme={null}
  {
    "description": "Raw Instantly create account response."
  }
  ```
</details>

## Advanced: Direct CLI

<Info>
  Use direct execution for single payload debugging.
</Info>

```bash theme={null}
deepline tools execute instantly_create_account --payload '{
  "email": "string",
  "provider_code": "integer"
}' --json
```

### CLI flags

| Flag                        | Description                                         |
| --------------------------- | --------------------------------------------------- |
| `--json`                    | Print machine-readable output.                      |
| `--wait`                    | Wait for terminal provider status when supported.   |
| `--debug`                   | Enable wait mode with additional status/log output. |
| `--wait-timeout SECONDS`    | Max seconds to wait in wait mode.                   |
| `--poll-interval SECONDS`   | Polling interval in seconds during wait mode.       |
| `--timeout SECONDS`         | Request timeout in seconds.                         |
| `--connect-timeout SECONDS` | Connection timeout in seconds.                      |

## Provider API Context

<details>
  <summary>Show provider reference (optional)</summary>

  ```md theme={null}
  > Requires one of the following scopes: `accounts:create`, `accounts:all`, `all:create`, `all:all`

  ## 02. Delete account

  Source: https://developer.instantly.ai/api-reference/account/delete-account.md
  ```
</details>

## Cost

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