create_inboxes
Create one or more temporary inboxes (subject to the plan inbox quota; 10 per call). Returns the created InboxDto objects; per-item failures (e.g. taken addresses) are listed in errors. The token-bound project is used; an optional projectId is accepted but must match it (mismatch is an explicit error). B1 task inboxes: pass taskTtlSec (+ expectFrom and/or expectSubject, optional completeOnMatch) with count=1 to declare an ephemeral task — the inbox auto-reclaims at expiry (expired) and, with completeOnMatch, the first matching mail flips it to completed with matchedMessageId; query via list_inboxes taskStatus filter.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_inboxes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | How many inboxes to create (default 1). localPart only applies when count is 1. | |
| domain | No | Receiving domain; defaults to the first configured domain. | |
| localPart | No | Exact local part for a single inbox; omit to auto-generate a random one. | |
| projectId | No | Optional: must equal the token-bound project. Omit to use the token-bound project (MCP tokens are project-scoped, so no projectId is required). | |
| expectFrom | No | B1: case-insensitive substring matched against the display/envelope sender. | |
| taskTtlSec | No | B1: declare a task inbox with this TTL (60s..30d). Requires count=1. expectFrom/expectSubject are optional — a bare TTL box is a pure self-destructing inbox (never completes, reclaimed at expiry). | |
| displayLabel | No | Optional display label for the inbox(es). | |
| expectations | No | B3-4: multiple expectations; the task completes only when all match. Mutually exclusive with expectFrom/expectSubject. | |
| expectSubject | No | B1: case-insensitive substring matched against the subject. | |
| completeOnMatch | No | B1: mark the task completed on the first matching mail (default false). Ignored when expectations is used (all must match). |