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

# EmailBison: Create Imapsmtpemail Account

> Connect a sender email account to EmailBison with its IMAP and SMTP settings. Includes SDK V2 examples, input constraints, response fields, and Deepline cost.

Connect a sender email account to EmailBison with its IMAP and SMTP settings.

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

## 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(
  'emailbison_create_imapsmtpemail_account',
  {
    "name": "Example",
    "email": "jane.doe@example.com",
    "password": "YOUR_PASSWORD",
    "imap_server": "example",
    "imap_port": 123,
    "smtp_server": "example",
    "smtp_port": 123
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute emailbison_create_imapsmtpemail_account --input '{
  "name": "Example",
  "email": "jane.doe@example.com",
  "password": "YOUR_PASSWORD",
  "imap_server": "example",
  "imap_port": 123,
  "smtp_server": "example",
  "smtp_port": 123
}' --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": {
    "data": {
      "id": 123,
      "name": "Example",
      "email": "jane.doe@example.com"
    }
  }
}
```

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

## Input reference

Creates a new IMAP/SMTP email account for the authenticated workspace.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.name` | `string` | Yes | — | The name associated with the sender email. |
| `payload.email` | `string` | Yes | — | The email address of the sender. Must be unique and in a valid email format. |
| `payload.password` | `string` | Yes | — | The password for the sender email. |
| `payload.imap_server` | `string` | Yes | — | The IMAP server address for the sender email. Must be a valid domain name. |
| `payload.imap_port` | `integer` | Yes | — | The IMAP server port for the sender email. |
| `payload.smtp_server` | `string` | Yes | — | The SMTP server address for the sender email. Must be a valid domain name. |
| `payload.smtp_port` | `integer` | Yes | — | The SMTP server port for the sender email. |
| `payload.smtp_secure` | `boolean` | No | — | — |
| `payload.imap_secure` | `boolean` | No | — | — |
| `payload.email_signature` | `string` | No | — | The signature for the sender email. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Creates a new IMAP/SMTP email account for the authenticated workspace.",
    "properties": {
      "name": {
        "type": "string",
        "description": "The name associated with the sender email."
      },
      "email": {
        "type": "string",
        "description": "The email address of the sender. Must be unique and in a valid email format."
      },
      "password": {
        "type": "string",
        "description": "The password for the sender email."
      },
      "imap_server": {
        "type": "string",
        "description": "The IMAP server address for the sender email. Must be a valid domain name."
      },
      "imap_port": {
        "type": "integer",
        "description": "The IMAP server port for the sender email."
      },
      "smtp_server": {
        "type": "string",
        "description": "The SMTP server address for the sender email. Must be a valid domain name."
      },
      "smtp_port": {
        "type": "integer",
        "description": "The SMTP server port for the sender email."
      },
      "smtp_secure": {
        "type": "boolean"
      },
      "imap_secure": {
        "type": "boolean"
      },
      "email_signature": {
        "type": "string",
        "description": "The signature for the sender email."
      }
    },
    "required": [
      "name",
      "email",
      "password",
      "imap_server",
      "imap_port",
      "smtp_server",
      "smtp_port"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.data` | `object` | No | — | — |
| `result.data.data.id` | `integer` | No | — | — |
| `result.data.data.name` | `string` | No | — | — |
| `result.data.data.email` | `string` | No | — | — |
| `result.data.data.email_signature` | `string` | No | — | — |
| `result.data.data.imap_server` | `string` | No | — | — |
| `result.data.data.imap_port` | `integer` | No | — | — |
| `result.data.data.smtp_server` | `string` | No | — | — |
| `result.data.data.smtp_port` | `integer` | No | — | — |
| `result.data.data.daily_limit` | `integer` | No | — | — |
| `result.data.data.type` | `string` | No | — | — |
| `result.data.data.status` | `string` | No | — | — |
| `result.data.data.warmup_enabled` | `boolean` | No | — | — |
| `result.data.data.emails_sent_count` | `integer` | No | — | — |
| `result.data.data.total_replied_count` | `integer` | No | — | — |
| `result.data.data.total_opened_count` | `integer` | No | — | — |
| `result.data.data.unsubscribed_count` | `integer` | No | — | — |
| `result.data.data.bounced_count` | `integer` | No | — | — |
| `result.data.data.unique_replied_count` | `integer` | No | — | — |
| `result.data.data.unique_opened_count` | `integer` | No | — | — |
| `result.data.data.total_leads_contacted_count` | `integer` | No | — | — |
| `result.data.data.interested_leads_count` | `integer` | No | — | — |
| `result.data.data.created_at` | `string` | No | — | — |
| `result.data.data.updated_at` | `string` | No | — | — |
| `result.data.data.tags` | `array` | No | — | — |
| `result.data.data.tags[].id` | `integer` | No | — | — |
| `result.data.data.tags[].name` | `string` | No | — | — |
| `result.data.data.tags[].default` | `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": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer"
              },
              "name": {
                "type": "string"
              },
              "email": {
                "type": "string"
              },
              "email_signature": {
                "type": "string"
              },
              "imap_server": {
                "type": "string"
              },
              "imap_port": {
                "type": "integer"
              },
              "smtp_server": {
                "type": "string"
              },
              "smtp_port": {
                "type": "integer"
              },
              "daily_limit": {
                "type": "integer"
              },
              "type": {
                "type": "string"
              },
              "status": {
                "type": "string"
              },
              "warmup_enabled": {
                "type": "boolean"
              },
              "emails_sent_count": {
                "type": "integer"
              },
              "total_replied_count": {
                "type": "integer"
              },
              "total_opened_count": {
                "type": "integer"
              },
              "unsubscribed_count": {
                "type": "integer"
              },
              "bounced_count": {
                "type": "integer"
              },
              "unique_replied_count": {
                "type": "integer"
              },
              "unique_opened_count": {
                "type": "integer"
              },
              "total_leads_contacted_count": {
                "type": "integer"
              },
              "interested_leads_count": {
                "type": "integer"
              },
              "created_at": {
                "type": "string"
              },
              "updated_at": {
                "type": "string"
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer"
                    },
                    "name": {
                      "type": "string"
                    },
                    "default": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          }
        },
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</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

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