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

> Retrieve a single inbox by ID or email address. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Retrieve a single inbox by ID or email address.

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

## 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_get',
  {
    "inbox_id": "inbox_123"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline run resend_inboxes_get --input '{
  "inbox_id": "inbox_123"
}'
```

## Example response

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

## Input reference

Retrieve a single inbox by ID or email address

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.inbox_id` | `string` | Yes | — | The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any other value must be a UUID, or the request returns a 422. The address match is case-insensitive and never falls back to the inbox `name`. An address that matches no inbox returns a 404. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Retrieve a single inbox by ID or email address",
    "properties": {
      "inbox_id": {
        "type": "string",
        "description": "The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any other value must be a UUID, or the request returns a 422. The address match is case-insensitive and never falls back to the inbox `name`. An address that matches no inbox returns a 404."
      }
    },
    "required": [
      "inbox_id"
    ],
    "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 | — | The object type. Always `inbox`. |
| `result.data.id` | `string` | Yes | — | The ID of the inbox. Format: `uuid`. |
| `result.data.name` | `string` | Yes | — | Internal name for the inbox. Recipients do not see it. Falls back to the inbox email address. |
| `result.data.email_address` | `string` | Yes | — | The address of the inbox. |
| `result.data.domain_id` | `string` | Yes | — | The ID of the domain that owns the address. Format: `uuid`. |
| `result.data.receiving_address` | `string \| null` | Yes | — | The address to forward mail to when forwarding is enabled. `null` otherwise. |
| `result.data.from_name` | `string \| null` | Yes | — | The name recipients see when mail is sent from this inbox. `null` when not set. |
| `result.data.unread` | `integer` | Yes | — | The number of unread threads in the Inbox folder. |
| `result.data.drafts` | `integer` | Yes | — | The number of unsent drafts. |
| `result.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.created_at` | `string` | Yes | — | ISO 8601 timestamp when the inbox was created. Format: `date-time`. |
| `result.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": "The object type. Always `inbox`."
          },
          "id": {
            "type": "string",
            "description": "The ID of the inbox.",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "Internal name for the inbox. Recipients do not see it. Falls back to the inbox email address."
          },
          "email_address": {
            "type": "string",
            "description": "The address of the inbox."
          },
          "domain_id": {
            "type": "string",
            "description": "The ID of the domain that owns the address.",
            "format": "uuid"
          },
          "receiving_address": {
            "type": [
              "string",
              "null"
            ],
            "description": "The address to forward mail to when forwarding is enabled. `null` otherwise."
          },
          "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."
          },
          "drafts": {
            "type": "integer",
            "description": "The number of unsent drafts."
          },
          "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": [
          "object",
          "id",
          "name",
          "email_address",
          "domain_id",
          "receiving_address",
          "from_name",
          "unread",
          "drafts",
          "last_received",
          "created_at",
          "updated_at"
        ],
        "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.