Caselle postali
Gestire caselle SMTP, credenziali e domini delle caselle. Gli esempi usano la modalità codice A2A. MCP espone la stessa modalità codice tramite lo strumentoexecute.
Funzioni
mailboxes.add
mailboxes.add.
| Proprietà | Valore | Proprietà | Valore |
|---|---|---|---|
| Autorizzazione richiesta | mailbox.create | Autenticazione richiesta | sì |
| Modalità di esecuzione | sync | Capacità | mailbox.create |
| Tipo di risorsa | account | Campo ID risorsa | account_id |
| Route API pubblica | POST /v1/public/accounts/{account_id}/mailboxes |
Argomenti
Argomenti
| Nome | Tipo | Obbligatorio |
|---|---|---|
account_id | str | sì |
domain | str | sì |
first_name | str | sì |
last_name | str | sì |
local_part | str | sì |
Restituisce
Restituisce
| Campo | Tipo | Obbligatorio |
|---|---|---|
created_at | str | sì |
domain_id | str | sì |
domain_name | str | sì |
first_name | str | sì |
id | str | sì |
last_name | str | sì |
local_part | str | sì |
primary_email | str | sì |
quota | {"allowed": int, "used": int} | sì |
status | str | sì |
updated_at | str | sì |
aliases | [{"alias": str, "is_catch_all"?: bool}] | no |
workspace_id | str | null | no |
workspace_name | str | null | no |
Esempio A2A
Esempio A2A
Richiesta:Risposta:
Esempio MCP
Esempio MCP
Richiesta:Risposta:
mailboxes.aliases.create
mailboxes.aliases.create.
| Proprietà | Valore | Proprietà | Valore |
|---|---|---|---|
| Autorizzazione richiesta | mailbox.alias.manage | Autenticazione richiesta | sì |
| Modalità di esecuzione | sync | Capacità | mailbox.alias.manage |
| Tipo di risorsa | account | Campo ID risorsa | account_id |
| Route API pubblica | POST /v1/public/accounts/{account_id}/mailboxes/{mailbox}/aliases |
Argomenti
Argomenti
| Nome | Tipo | Obbligatorio |
|---|---|---|
account_id | str | sì |
mailbox | str | sì |
alias | str | sì |
is_catch_all | bool | no |
Restituisce
Restituisce
| Campo | Tipo | Obbligatorio |
|---|---|---|
alias | str | sì |
is_catch_all | bool | no |
Esempio A2A
Esempio A2A
Richiesta:Risposta:
Esempio MCP
Esempio MCP
Richiesta:Risposta:
mailboxes.aliases.delete
mailboxes.aliases.delete.
| Proprietà | Valore | Proprietà | Valore |
|---|---|---|---|
| Autorizzazione richiesta | mailbox.alias.manage | Autenticazione richiesta | sì |
| Modalità di esecuzione | sync | Capacità | mailbox.alias.manage |
| Tipo di risorsa | account | Campo ID risorsa | account_id |
| Route API pubblica | DELETE /v1/public/accounts/{account_id}/mailboxes/{mailbox}/aliases/{alias} |
Argomenti
Argomenti
| Nome | Tipo | Obbligatorio |
|---|---|---|
account_id | str | sì |
alias | str | sì |
mailbox | str | sì |
Restituisce
Restituisce
| Campo | Tipo | Obbligatorio |
|---|---|---|
result | {} | sì |
Esempio A2A
Esempio A2A
Richiesta:Risposta:
Esempio MCP
Esempio MCP
Richiesta:Risposta:
mailboxes.bulk_add
mailboxes.bulk_add.
| Proprietà | Valore | Proprietà | Valore |
|---|---|---|---|
| Autorizzazione richiesta | mailbox.create | Autenticazione richiesta | sì |
| Modalità di esecuzione | sync | Capacità | mailbox.create |
| Tipo di risorsa | account | Campo ID risorsa | account_id |
| Route API pubblica | POST /v1/public/accounts/{account_id}/mailboxes/bulk |
Argomenti
Argomenti
| Nome | Tipo | Obbligatorio |
|---|---|---|
account_id | str | sì |
domain | str | sì |
items | [{"first_name": str, "last_name": str, "local_part": str}] | sì |
Restituisce
Restituisce
| Campo | Tipo | Obbligatorio |
|---|---|---|
created | [{"index": int, "mailbox": {"created_at": str, "domain_id": str, "domain_name": str, "first_name": str, "id": str, "last_name": str, "local_part": str, "primary_email": str, "quota": {"allowed": int, "used": int}, "status": str, "updated_at": str, "aliases"?: [{"alias": str, "is_catch_all"?: bool}], "workspace_id"?: str | null, "workspace_name"?: str | null}}] | sì |
failed | [{"code": str, "index": int, "message": str}] | sì |
Esempio A2A
Esempio A2A
Richiesta:Risposta:
Esempio MCP
Esempio MCP
Richiesta:Risposta:
mailboxes.get
mailboxes.get.
| Proprietà | Valore | Proprietà | Valore |
|---|---|---|---|
| Autorizzazione richiesta | mailbox.view | Autenticazione richiesta | sì |
| Modalità di esecuzione | sync | Capacità | mailbox.view |
| Tipo di risorsa | account | Campo ID risorsa | account_id |
| Route API pubblica | GET /v1/public/accounts/{account_id}/mailboxes/{mailbox} |
Argomenti
Argomenti
| Nome | Tipo | Obbligatorio |
|---|---|---|
account_id | str | sì |
mailbox | str | sì |
Restituisce
Restituisce
| Campo | Tipo | Obbligatorio |
|---|---|---|
created_at | str | sì |
domain_id | str | sì |
domain_name | str | sì |
first_name | str | sì |
id | str | sì |
last_name | str | sì |
local_part | str | sì |
primary_email | str | sì |
quota | {"allowed": int, "used": int} | sì |
status | str | sì |
updated_at | str | sì |
aliases | [{"alias": str, "is_catch_all"?: bool}] | no |
workspace_id | str | null | no |
workspace_name | str | null | no |
Esempio A2A
Esempio A2A
Richiesta:Risposta:
Esempio MCP
Esempio MCP
Richiesta:Risposta:
mailboxes.list
mailboxes.list.
| Proprietà | Valore | Proprietà | Valore |
|---|---|---|---|
| Autorizzazione richiesta | mailbox.view | Autenticazione richiesta | sì |
| Modalità di esecuzione | sync | Capacità | mailbox.view |
| Tipo di risorsa | account | Campo ID risorsa | account_id |
| Route API pubblica | GET /v1/public/accounts/{account_id}/mailboxes |
Argomenti
Argomenti
| Nome | Tipo | Obbligatorio |
|---|---|---|
account_id | str | sì |
domain | str | null | no |
page | int | no |
page_size | int | no |
search | str | null | no |
workspace_id | str | null | no |
Restituisce
Restituisce
| Campo | Tipo | Obbligatorio |
|---|---|---|
items | [{"created_at": str, "domain_id": str, "domain_name": str, "first_name": str, "id": str, "last_name": str, "local_part": str, "primary_email": str, "quota": {"allowed": int, "used": int}, "status": str, "updated_at": str, "aliases"?: [{"alias": str, "is_catch_all"?: bool}], "workspace_id"?: str | null, "workspace_name"?: str | null}] | sì |
page | int | sì |
page_size | int | sì |
total | int | sì |
Esempio A2A
Esempio A2A
Richiesta:Risposta:
Esempio MCP
Esempio MCP
Richiesta:Risposta:
mailboxes.reveal_credentials
mailboxes.reveal_credentials.
| Proprietà | Valore | Proprietà | Valore |
|---|---|---|---|
| Autorizzazione richiesta | mailbox.credential.reveal | Autenticazione richiesta | sì |
| Modalità di esecuzione | sync | Capacità | mailbox.credential.reveal |
| Tipo di risorsa | account | Campo ID risorsa | account_id |
| Route API pubblica | POST /v1/public/accounts/{account_id}/mailboxes/{mailbox}/reveal-credentials |
Argomenti
Argomenti
| Nome | Tipo | Obbligatorio |
|---|---|---|
account_id | str | sì |
mailbox | str | sì |
Restituisce
Restituisce
| Campo | Tipo | Obbligatorio |
|---|---|---|
password | str | sì |
username | str | sì |
Esempio A2A
Esempio A2A
Richiesta:Risposta:
Esempio MCP
Esempio MCP
Richiesta:Risposta:
mailboxes.update
mailboxes.update.
| Proprietà | Valore | Proprietà | Valore |
|---|---|---|---|
| Autorizzazione richiesta | mailbox.update | Autenticazione richiesta | sì |
| Modalità di esecuzione | sync | Capacità | mailbox.update |
| Tipo di risorsa | account | Campo ID risorsa | account_id |
| Route API pubblica | PATCH /v1/public/accounts/{account_id}/mailboxes/{mailbox} |
Argomenti
Argomenti
| Nome | Tipo | Obbligatorio |
|---|---|---|
account_id | str | sì |
mailbox | str | sì |
first_name | str | null | no |
last_name | str | null | no |
Restituisce
Restituisce
| Campo | Tipo | Obbligatorio |
|---|---|---|
created_at | str | sì |
domain_id | str | sì |
domain_name | str | sì |
first_name | str | sì |
id | str | sì |
last_name | str | sì |
local_part | str | sì |
primary_email | str | sì |
quota | {"allowed": int, "used": int} | sì |
status | str | sì |
updated_at | str | sì |
aliases | [{"alias": str, "is_catch_all"?: bool}] | no |
workspace_id | str | null | no |
workspace_name | str | null | no |
Esempio A2A
Esempio A2A
Richiesta:Risposta:
Esempio MCP
Esempio MCP
Richiesta:Risposta: