MCP tools: Inboxes

The tools of the MCP server under Inboxes. Addresses on the inbox domain: issue, read, rename and delete them.

inboxes_list

Tool for inboxes.list: GET /v1/inboxes

The account's active inboxes, oldest first, each with its unread thread count and the instant of its last message. An inbox-scoped key sees its own inbox only. OAuth: requires inboxes:read.

Offered to
A connected agent with an approval that covers inboxes:read. The default agent permissions cover it. With a key: any API key, or a console session.
Annotations
readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false. The tool reads only; calling it again with the same input has no further effect.
Input
  • qstringoptional

    Keep the inboxes whose address or display name contains this text, case-insensitively.

  • externalIdstringoptional

    Keep the inbox with exactly this externalId: at most one, since it is unique among the account's active inboxes. Example: customer-8841

  • limitintegeroptional

    Page size, 1 to 100. Defaults to 50.

  • offsetintegeroptional

    Rows to skip. Defaults to 0.

Inputs that are not fields of the request body
InputSent as
qthe query parameter q
externalIdthe query parameter externalId
limitthe query parameter limit
offsetthe query parameter offset

Example call

{
  "name": "inboxes_list",
  "arguments": {}
}

inboxes_create

Tool for inboxes.create: POST /v1/inboxes

A new address on the inbox domain that receives mail as soon as the call returns. Omit mailboxName for a random one. Pass webhookUrl and key to issue a ready-to-use inbox in one call: the answer then carries the webhook's signing secret and the inbox-scoped key's token, once. externalId tags the inbox with your own identifier for later lookups. Creating past the plan's allowance answers 402 plan_limit_reached; deleting an inbox frees its slot. Every plan also has a ceiling of 100 active inboxes per account (409 limit_reached). OAuth: requires inboxes:write.

Offered to
A connected agent with an approval that covers inboxes:write. The default agent permissions do not cover it: the agent has to ask for it, and the person has to approve it. With a key: an account-scoped key or a console session; an inbox-scoped key gets 403 forbidden.
Annotations
readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false. The tool changes something.
One-time secret
The answer can carry a key's token or a signing secret that is shown once. The server adds a notice to store it now.
Input
  • mailboxNamestringoptional

    3 to 30 lowercase letters, digits, dots or hyphens: the part before the @. Reserved names are refused with 400 validation_error: mail infrastructure (abuse, admin, administrator, api, bounce, bounces, ...), the company's role accounts (support, billing, sales, legal, security, ...), names holding such a role as a dot- or hyphen-separated label (acme-support) however the role is written (support1, supp0rt, no-reply, supportteam), and the doorman and theovex brand with its lookalikes. The full lists are under x-doorman-limits.inboxes. Example: concierge

  • displayNamestringoptional

    The sender name on outbound mail, at most 100 characters, with at least one letter or digit and no @, <, >, URL, control or invisible characters, no Latin mixed with Cyrillic or Greek, never the doorman or theovex brand, and never a bare role such as Support or Billing team: it says who, not only what. Example: Acme concierge

  • externalIdstringoptional

    Your own identifier for the inbox (a user, a job, a tenant), at most 200 characters and unique among the account's active inboxes. Look an inbox up with GET /v1/inboxes?externalId=. Example: customer-8841

  • metadataobject of string | number | boolean | nulloptional

    Extension state: at most 20 keys and 2048 bytes of UTF-8 JSON. Keys are 1 to 64 ASCII letters, digits, underscores, dots, colons or hyphens, starting with a letter or digit. Values are strings, finite numbers, booleans or null. Replaced as a whole; {} clears it. Do not store secrets. Example: {"customer":"customer-8841","reviewed":false}

  • domainIdstringoptional

    One of this account's verified custom domains. Omit for the shared domain. Example: dom_01jc5f1a2b3c4d5e6f7g8h9j0k

  • webhookUrlstringoptional

    Set the inbox webhook at once: an https URL without credentials. The signing secret is in the answer's webhook. Example: https://agent.example.com/hooks/doorman

  • keyobjectoptional

    Mint an inbox-scoped key at once. Its token is in the answer's key.

  • namestringoptional

    A label for the key, at most 100 characters. Example: Acme concierge

Example call

{
  "name": "inboxes_create",
  "arguments": {
    "mailboxName": "concierge",
    "displayName": "Acme concierge"
  }
}

inboxes_get

Tool for inboxes.get: GET /v1/inboxes/{inboxId}

One inbox. An inbox-scoped key can read its own only; anything else is 404. OAuth: requires inboxes:read.

Offered to
A connected agent with an approval that covers inboxes:read. The default agent permissions cover it. With a key: any API key, or a console session.
Annotations
readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false. The tool reads only; calling it again with the same input has no further effect.
Input
  • inboxIdstringrequired

    The inbox. Example: inb_01jc4q7w9k2m5n8p3r6t1v4x7z

Inputs that are not fields of the request body
InputSent as
inboxIdthe path parameter inboxId

Example call

{
  "name": "inboxes_get",
  "arguments": {
    "inboxId": "inb_01jc4q7w9k2m5n8p3r6t1v4x7z"
  }
}

inboxes_update

Tool for inboxes.update: PATCH /v1/inboxes/{inboxId}

Changes the display name, external identifier or metadata. Null clears either name or externalId; metadata replaces the whole map and {} clears it. Fields left out stay as they are. The address cannot change. An externalId already carried by another active inbox of the account answers 409 already_exists. OAuth: requires inboxes:write.

Offered to
A connected agent with an approval that covers inboxes:write. The default agent permissions do not cover it: the agent has to ask for it, and the person has to approve it. With a key: an account-scoped key or a console session; an inbox-scoped key gets 403 forbidden.
Annotations
readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: false. The tool changes something; calling it again with the same input has no further effect.
Input
  • inboxIdstringrequired

    The inbox. Example: inb_01jc4q7w9k2m5n8p3r6t1v4x7z

  • displayNamestring | nulloptional

    The new sender name; null or empty clears it.

  • signaturestring | nulloptional

    The new signature: plain text of at most 1000 characters, line breaks kept. It is appended to every message the inbox sends from then on, a rule's forward excepted. On the shared domain a signature may not present the sender as the company (the doorman or theovex brand beside a word such as team, support or security): that answers 400 validation_error, for this field and for signatureHtml. Null or empty clears it.

  • signatureHtmlstring | nulloptional

    The signature as markup, at most 10000 characters: tables, inline styles, links and https images, as a signature builder exports it. It is cleaned before it is stored (scripts, style sheets, forms, frames, event handlers, and images that are not https are removed), and the answer carries what was kept. From then on every message the inbox sends carries it in its HTML part, and a message sent as text alone gains an HTML part for it; signature stays the text part's. When it is set on an inbox that has no signature, and none is given with it, the text is read from the markup. Null or empty clears it.

  • externalIdstring | nulloptional

    Your new identifier for the inbox; null clears it.

  • metadataobject of string | number | boolean | nulloptional

    Extension state: at most 20 keys and 2048 bytes of UTF-8 JSON. Keys are 1 to 64 ASCII letters, digits, underscores, dots, colons or hyphens, starting with a letter or digit. Values are strings, finite numbers, booleans or null. Replaced as a whole; {} clears it. Do not store secrets. Example: {"customer":"customer-8841","reviewed":false}

Inputs that are not fields of the request body
InputSent as
inboxIdthe path parameter inboxId

Example call

{
  "name": "inboxes_update",
  "arguments": {
    "inboxId": "inb_01jc4q7w9k2m5n8p3r6t1v4x7z",
    "displayName": "Acme concierge"
  }
}

inboxes_delete

Tool for inboxes.delete: DELETE /v1/inboxes/{inboxId}

Deletes the inbox, revokes its keys, removes its webhook, closes its stream connections and stops delivery. The address is held for 180 days before another account can reuse it. Where the deployment erases, what it held is erased 30 days later. OAuth: requires inboxes:write.

Offered to
A connected agent with an approval that covers inboxes:write. The default agent permissions do not cover it: the agent has to ask for it, and the person has to approve it. With a key: an account-scoped key or a console session; an inbox-scoped key gets 403 forbidden.
Annotations
readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: false. The tool changes something; can remove something, or replace a secret that stops verifying at once; calling it again with the same input has no further effect.
Input
  • inboxIdstringrequired

    The inbox. Example: inb_01jc4q7w9k2m5n8p3r6t1v4x7z

Inputs that are not fields of the request body
InputSent as
inboxIdthe path parameter inboxId

Example call

{
  "name": "inboxes_delete",
  "arguments": {
    "inboxId": "inb_01jc4q7w9k2m5n8p3r6t1v4x7z"
  }
}

inboxes_rules_list

Tool for inboxes.rules.list: GET /v1/inboxes/{inboxId}/rules

The inbox's rules, oldest first with id as the tie-breaker. At most 25 rules per inbox. OAuth: requires rules:manage, mail:read, mail:write, mail:send.

Offered to
A connected agent with an approval that covers rules:manage and mail:read and mail:write and mail:send. The default agent permissions do not cover it: the agent has to ask for it, and the person has to approve it. With a key: an account-scoped key or a console session; an inbox-scoped key gets 403 forbidden.
Annotations
readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false. The tool reads only; calling it again with the same input has no further effect.
Input
  • inboxIdstringrequired

    The inbox. Example: inb_01jc4q7w9k2m5n8p3r6t1v4x7z

Inputs that are not fields of the request body
InputSent as
inboxIdthe path parameter inboxId

Example call

{
  "name": "inboxes_rules_list",
  "arguments": {
    "inboxId": "inb_01jc4q7w9k2m5n8p3r6t1v4x7z"
  }
}

inboxes_rules_create

Tool for inboxes.rules.create: POST /v1/inboxes/{inboxId}/rules

All when conditions must match after classification. Actions run in array order; one outbound action is selected per inbound message across matching rules. Auto-replies and forwards require loop-safe personal mail, use plain text and respect send limits. At most 25 rules per inbox and 5 actions per rule. Enabled by default. OAuth: requires rules:manage, mail:read, mail:write, mail:send.

Offered to
A connected agent with an approval that covers rules:manage and mail:read and mail:write and mail:send. The default agent permissions do not cover it: the agent has to ask for it, and the person has to approve it. With a key: an account-scoped key or a console session; an inbox-scoped key gets 403 forbidden.
Annotations
readOnlyHint: false, destructiveHint: true, idempotentHint: false, openWorldHint: true. The tool changes something; can remove something, or replace a secret that stops verifying at once; reaches outside the account: it sends mail or posts to a URL.
Input
  • inboxIdstringrequired

    The inbox. Example: inb_01jc4q7w9k2m5n8p3r6t1v4x7z

  • namestringrequired

  • enabledbooleanoptional

  • whenobjectrequired

    All supplied conditions must match. At least one condition is required.

  • category"personal" | "automated" | "marketing" | "bounce" | "spam" | "malicious"optional

  • senderstring (email)optional

    Exact normalized From address. A match is not proof of sender identity.

  • subjectContainsstringoptional

    Case-insensitive subject substring, not a regular expression.

  • minRiskLevel"low" | "medium" | "high" | "critical"optional

    The message's risk level is this or higher. A message that was not assessed never matches.

  • senderStanding"trusted" | "known" | "new" | "blocked"optional

    The sender's standing when the message arrived. A message that was not assessed never matches.

  • then(object | object | object | object)[]required

    Executed in array order. At most one auto_reply or forward action per rule.

Inputs that are not fields of the request body
InputSent as
inboxIdthe path parameter inboxId

Example call

{
  "name": "inboxes_rules_create",
  "arguments": {
    "inboxId": "inb_01jc4q7w9k2m5n8p3r6t1v4x7z",
    "name": "Invoice triage",
    "when": {
      "category": "personal",
      "subjectContains": "invoice"
    },
    "then": [
      {
        "type": "label",
        "label": "billing"
      }
    ]
  }
}

inboxes_rules_get

Tool for inboxes.rules.get: GET /v1/inboxes/{inboxId}/rules/{ruleId}

One rule belonging to this inbox. OAuth: requires rules:manage, mail:read, mail:write, mail:send.

Offered to
A connected agent with an approval that covers rules:manage and mail:read and mail:write and mail:send. The default agent permissions do not cover it: the agent has to ask for it, and the person has to approve it. With a key: an account-scoped key or a console session; an inbox-scoped key gets 403 forbidden.
Annotations
readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false. The tool reads only; calling it again with the same input has no further effect.
Input
  • inboxIdstringrequired

    The inbox. Example: inb_01jc4q7w9k2m5n8p3r6t1v4x7z

  • ruleIdstringrequired

    The rule. Example: rul_01jc5f1a2b3c4d5e6f7g8h9j0k

Inputs that are not fields of the request body
InputSent as
inboxIdthe path parameter inboxId
ruleIdthe path parameter ruleId

Example call

{
  "name": "inboxes_rules_get",
  "arguments": {
    "inboxId": "inb_01jc4q7w9k2m5n8p3r6t1v4x7z",
    "ruleId": "rul_01jc5f1a2b3c4d5e6f7g8h9j0k"
  }
}

inboxes_rules_update

Tool for inboxes.rules.update: PATCH /v1/inboxes/{inboxId}/rules/{ruleId}

Replace the supplied fields. Updates cancel pending executions of the old revision; disabling a rule prevents new matches. OAuth: requires rules:manage, mail:read, mail:write, mail:send.

Offered to
A connected agent with an approval that covers rules:manage and mail:read and mail:write and mail:send. The default agent permissions do not cover it: the agent has to ask for it, and the person has to approve it. With a key: an account-scoped key or a console session; an inbox-scoped key gets 403 forbidden.
Annotations
readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: true. The tool changes something; can remove something, or replace a secret that stops verifying at once; calling it again with the same input has no further effect; reaches outside the account: it sends mail or posts to a URL.
Input
  • inboxIdstringrequired

    The inbox. Example: inb_01jc4q7w9k2m5n8p3r6t1v4x7z

  • ruleIdstringrequired

    The rule. Example: rul_01jc5f1a2b3c4d5e6f7g8h9j0k

  • namestringoptional

  • enabledbooleanoptional

  • whenobjectoptional

    All supplied conditions must match. At least one condition is required.

  • category"personal" | "automated" | "marketing" | "bounce" | "spam" | "malicious"optional

  • senderstring (email)optional

    Exact normalized From address. A match is not proof of sender identity.

  • subjectContainsstringoptional

    Case-insensitive subject substring, not a regular expression.

  • minRiskLevel"low" | "medium" | "high" | "critical"optional

    The message's risk level is this or higher. A message that was not assessed never matches.

  • senderStanding"trusted" | "known" | "new" | "blocked"optional

    The sender's standing when the message arrived. A message that was not assessed never matches.

  • then(object | object | object | object)[]optional

    Executed in array order. At most one auto_reply or forward action per rule.

Inputs that are not fields of the request body
InputSent as
inboxIdthe path parameter inboxId
ruleIdthe path parameter ruleId

Example call

{
  "name": "inboxes_rules_update",
  "arguments": {
    "inboxId": "inb_01jc4q7w9k2m5n8p3r6t1v4x7z",
    "ruleId": "rul_01jc5f1a2b3c4d5e6f7g8h9j0k",
    "enabled": false
  }
}

inboxes_rules_delete

Tool for inboxes.rules.delete: DELETE /v1/inboxes/{inboxId}/rules/{ruleId}

Stops new matches and cancels pending executions. Already-running mail cannot be recalled. Execution history remains readable. OAuth: requires rules:manage, mail:read, mail:write, mail:send.

Offered to
A connected agent with an approval that covers rules:manage and mail:read and mail:write and mail:send. The default agent permissions do not cover it: the agent has to ask for it, and the person has to approve it. With a key: an account-scoped key or a console session; an inbox-scoped key gets 403 forbidden.
Annotations
readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: false. The tool changes something; can remove something, or replace a secret that stops verifying at once; calling it again with the same input has no further effect.
Input
  • inboxIdstringrequired

    The inbox. Example: inb_01jc4q7w9k2m5n8p3r6t1v4x7z

  • ruleIdstringrequired

    The rule. Example: rul_01jc5f1a2b3c4d5e6f7g8h9j0k

Inputs that are not fields of the request body
InputSent as
inboxIdthe path parameter inboxId
ruleIdthe path parameter ruleId

Example call

{
  "name": "inboxes_rules_delete",
  "arguments": {
    "inboxId": "inb_01jc4q7w9k2m5n8p3r6t1v4x7z",
    "ruleId": "rul_01jc5f1a2b3c4d5e6f7g8h9j0k"
  }
}

inboxes_rules_runs

Tool for inboxes.rules.runs: GET /v1/inboxes/{inboxId}/rules/{ruleId}/runs

The immutable rule snapshots' execution outcomes, newest first. Interrupted or ambiguous sends are uncertain and never automatically re-sent. History remains after the rule is deleted. OAuth: requires rules:manage, mail:read, mail:write, mail:send.

Offered to
A connected agent with an approval that covers rules:manage and mail:read and mail:write and mail:send. The default agent permissions do not cover it: the agent has to ask for it, and the person has to approve it. With a key: an account-scoped key or a console session; an inbox-scoped key gets 403 forbidden.
Annotations
readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false. The tool reads only; calling it again with the same input has no further effect.
Input
  • inboxIdstringrequired

    The inbox. Example: inb_01jc4q7w9k2m5n8p3r6t1v4x7z

  • ruleIdstringrequired

    The rule. Example: rul_01jc5f1a2b3c4d5e6f7g8h9j0k

  • limitintegeroptional

    Page size, 1 to 100. Defaults to 50.

  • offsetintegeroptional

    Rows to skip. Defaults to 0.

Inputs that are not fields of the request body
InputSent as
inboxIdthe path parameter inboxId
ruleIdthe path parameter ruleId
limitthe query parameter limit
offsetthe query parameter offset

Example call

{
  "name": "inboxes_rules_runs",
  "arguments": {
    "inboxId": "inb_01jc4q7w9k2m5n8p3r6t1v4x7z",
    "ruleId": "rul_01jc5f1a2b3c4d5e6f7g8h9j0k"
  }
}

Up Down to move, Enter to open, Esc to close