---
name: "email_update_inbox"
area: "email"
title: "Change an inbox"
price: "$0.001"
method: "POST"
url: "https://api.conecto.chat/v1/tools/email_update_inbox"
mcp_server: "https://api.conecto.chat/mcp/email"
auth: "Authorization: Bearer <conecto_sk_ key>"
docs_url: "https://conecto.chat/tools/email/email_update_inbox"
---

# Change an inbox (`email_update_inbox`)

Changes an inbox's sender name, switches saving its attachments to the file store on or off, or changes how much it saves a day.

Change an inbox's sender name, switch email-in on or off (save_attachments saves each attachment of mail received from now on to the file store, linked to its email), or raise or lower what email-in saves in 24 hours (save_files_per_day, save_mb_per_day). $0.001.

Price: $0.001 a call. A call that fails costs nothing.

## Use it when

An inbox's sender name changes, or the attachments it receives (bills, documents) should be filed.

## Say this to your agent

> Save every attachment that arrives at invoices@ in our files. In spring we get about 30 bills a day there.

## Inputs

| Name | Type | Required | Description | Allowed values | Default |
|---|---|---|---|---|---|
| `inbox` | string | yes | Up to 254 characters. |  |  |
| `display_name` | string | no | Up to 120 characters. |  |  |
| `save_attachments` | boolean | no | Email-in: save each attachment of mail received here to the file store, linked to its email (files.added tells you, with its text). The store's space counts; when it is full an attachment is skipped and the email says so. Anyone can write to an inbox, so it saves at most save_files_per_day files and save_mb_per_day MB in 24 hours (100 and 250 by default); past that the email still arrives with its attachments listed as not saved. |  |  |
| `save_files_per_day` | integer | no | Email-in: the most attachments saved in 24 hours. Default 100. 1 to 1,000. |  |  |
| `save_mb_per_day` | integer | no | Email-in: the most MB of attachments saved in 24 hours. Default 250. 1 to 2,500. |  |  |

## Example

Written for Halverson Cycle & Repair, a bike shop with a repair workshop in Portland, Oregon.

MCP: call `email_update_inbox` on the MCP server `https://api.conecto.chat/mcp/email` with these arguments:

```json
{
  "inbox": "invoices@halverson-cycle-repair.useconecto.com",
  "save_attachments": true,
  "save_files_per_day": 50
}
```

REST:

```bash
curl https://api.conecto.chat/v1/tools/email_update_inbox \
  -H "Authorization: Bearer $CONECTO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inbox": "invoices@halverson-cycle-repair.useconecto.com", "save_attachments": true, "save_files_per_day": 50}'
```

## Response

```json
{
  "call_id": "5f0c8a2e-3b7d-4c1e-9a64-2d8e1f7b0c93",
  "tool": "email_update_inbox",
  "status": "succeeded",
  "replayed": false,
  "cost_usd": "$0.001",
  "balance_usd": "$19.75",
  "result": {
    "inbox": "invoices@halverson-cycle-repair.useconecto.com",
    "display_name": "Halverson Accounts",
    "opens_tickets": false,
    "save_attachments": true,
    "save_caps": {
      "files_per_day": 50,
      "mb_per_day": 250
    }
  }
}
```

`result`: The inbox, its sender name, opens_tickets, save_attachments and the daily caps on what it saves, as they now are.

## Errors

| Code | Status | When | Fix |
|---|---|---|---|
| `not_found` | 404 | No active inbox of the business has that address. | Call email_list_inboxes and use one of its addresses. |
| `invalid_input` | 400 | Nothing to change was given, or a daily cap is outside 1-1,000 files or 1-2,500 MB. | Send at least one field, within its limits. |

The refusals every tool can give (401 key, 402 balance, 429 limits) are on the errors page: https://conecto.chat/docs/errors.md

## Related

- [email_create_inbox](https://conecto.chat/tools/email/email_create_inbox.md): A new email address for the business on its own subdomain, which sends and receives at once. $1.00 a call.
- [email_list_inboxes](https://conecto.chat/tools/email/email_list_inboxes.md): The business's inboxes, whether each opens tickets or saves attachments, and when each renews. Free up to 1,000,000 reads a month.
- [email_send](https://conecto.chat/tools/email/email_send.md): Sends an email from one of the business's inboxes, with files from the store attached, or answers a received message in its thread. $0.001 per recipient, plus $0.001 per started MB of attachments for each recipient ($0.001 to one person without attachments), up to $0.52.
- [email_list_messages](https://conecto.chat/tools/email/email_list_messages.md): Messages in the business's inboxes, newest first: received, sent or both, for one inbox, one sender or since a time. Free up to 1,000,000 reads a month.
- [email_get_message](https://conecto.chat/tools/email/email_get_message.md): One message in full: its text, HTML and attachment names. Free up to 1,000,000 reads a month.
- [email_get_thread](https://conecto.chat/tools/email/email_get_thread.md): Every message of one conversation, oldest first. Free up to 1,000,000 reads a month.
- [email_update_thread](https://conecto.chat/tools/email/email_update_thread.md): Marks an email thread open, waiting, handled or archived, and sets its labels. $0.001 a call.
- [email_save_attachments](https://conecto.chat/tools/email/email_save_attachments.md): Saves the files attached to one received email into the file store, each linked to the email. $0.001 per file saved.
- [email_release_inbox](https://conecto.chat/tools/email/email_release_inbox.md): Stops renting an inbox: mail sent to it later bounces, and its stored messages stay readable. Free.
