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

# Resend: Inboxes List

> Retrieve a list of inboxes. Includes SDK V2 and CLI requests, input constraints, response fields, and Deepline credit cost.

Retrieve a list of inboxes.

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

## 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(
  'resend_inboxes_list',
  {
    "limit": 100,
    "after": "cursor_123",
    "before": "cursor_123"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline run resend_inboxes_list --input '{
  "limit": 100,
  "after": "cursor_123",
  "before": "cursor_123"
}'
```

## Example response

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

## Input reference

Returns the inboxes of the team, newest first. The list items carry fewer fields than a single inbox. Retrieve an inbox to get all its fields. The `after` and `before` cursors take an inbox ID, and only one of them can be passed, or the request returns a 422. A value that is not a UUID returns a 422, and an unknown ID returns a 404.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.limit` | `integer` | No | — | Number of items to return. Minimum: 1. Maximum: 100. |
| `payload.after` | `string` | No | — | Return items after this cursor. |
| `payload.before` | `string` | No | — | Return items before this cursor. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Returns the inboxes of the team, newest first. The list items carry fewer fields than a single inbox. Retrieve an inbox to get all its fields. The `after` and `before` cursors take an inbox ID, and only one of them can be passed, or the request returns a 422. A value that is not a UUID returns a 422, and an unknown ID returns a 404.",
    "properties": {
      "limit": {
        "type": "integer",
        "description": "Number of items to return.",
        "minimum": 1,
        "maximum": 100
      },
      "after": {
        "type": "string",
        "description": "Return items after this cursor."
      },
      "before": {
        "type": "string",
        "description": "Return items before this cursor."
      }
    },
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.object` | `string` | Yes | — | Type of the response object. |
| `result.data.has_more` | `boolean` | Yes | — | Indicates if there are more results available. |
| `result.data.data` | `array` | Yes | — | Array containing inbox information. |
| `result.data.data[].id` | `string` | Yes | — | The ID of the inbox. Format: `uuid`. |
| `result.data.data[].name` | `string \| null` | Yes | — | Internal name for the inbox. Recipients do not see it. |
| `result.data.data[].email_address` | `string` | Yes | — | The address of the inbox. |
| `result.data.data[].from_name` | `string \| null` | Yes | — | The name recipients see when mail is sent from this inbox. `null` when not set. |
| `result.data.data[].unread` | `integer` | Yes | — | The number of unread threads in the Inbox folder. |
| `result.data.data[].last_received` | `string \| null` | Yes | — | ISO 8601 timestamp of the newest received email in the Inbox folder. `null` when the folder has no received email. Format: `date-time`. |
| `result.data.data[].created_at` | `string` | Yes | — | ISO 8601 timestamp when the inbox was created. Format: `date-time`. |
| `result.data.data[].updated_at` | `string` | Yes | — | ISO 8601 timestamp when the inbox was last updated. Format: `date-time`. |
| `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": {
          "object": {
            "type": "string",
            "description": "Type of the response object."
          },
          "has_more": {
            "type": "boolean",
            "description": "Indicates if there are more results available."
          },
          "data": {
            "type": "array",
            "description": "Array containing inbox information.",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The ID of the inbox.",
                  "format": "uuid"
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Internal name for the inbox. Recipients do not see it."
                },
                "email_address": {
                  "type": "string",
                  "description": "The address of the inbox."
                },
                "from_name": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "The name recipients see when mail is sent from this inbox. `null` when not set."
                },
                "unread": {
                  "type": "integer",
                  "description": "The number of unread threads in the Inbox folder."
                },
                "last_received": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "ISO 8601 timestamp of the newest received email in the Inbox folder. `null` when the folder has no received email.",
                  "format": "date-time"
                },
                "created_at": {
                  "type": "string",
                  "description": "ISO 8601 timestamp when the inbox was created.",
                  "format": "date-time"
                },
                "updated_at": {
                  "type": "string",
                  "description": "ISO 8601 timestamp when the inbox was last updated.",
                  "format": "date-time"
                }
              },
              "required": [
                "id",
                "name",
                "email_address",
                "from_name",
                "unread",
                "last_received",
                "created_at",
                "updated_at"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "object",
          "has_more",
          "data"
        ],
        "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

* [Connect integrations](https://deepline.com/docs/integrations.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.