Postfächer
SMTP-Postfächer, Anmeldedaten und Postfachdomains verwalten. Die Beispiele verwenden den A2A-Code-Modus. MCP stellt denselben Code-Modus über sein Toolexecute bereit.
Funktionen
mailboxes.add
mailboxes.add.
| Eigenschaft | Wert | Eigenschaft | Wert |
|---|---|---|---|
| Erforderliche Berechtigung | mailbox.create | Authentifizierung erforderlich | ja |
| Ausführungsmodus | sync | Fähigkeit | mailbox.create |
| Ressourcentyp | account | Ressourcen-ID-Feld | account_id |
| Öffentliche API-Route | POST /v1/public/accounts/{account_id}/mailboxes |
Argumente
Argumente
| Name | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
domain | str | ja |
first_name | str | ja |
last_name | str | ja |
local_part | str | ja |
Rückgabe
Rückgabe
| Feld | Typ | Erforderlich |
|---|---|---|
created_at | str | ja |
domain_id | str | ja |
domain_name | str | ja |
first_name | str | ja |
id | str | ja |
last_name | str | ja |
local_part | str | ja |
primary_email | str | ja |
quota | {"allowed": int, "used": int} | ja |
status | str | ja |
updated_at | str | ja |
aliases | [{"alias": str, "is_catch_all"?: bool}] | nein |
workspace_id | str | null | nein |
workspace_name | str | null | nein |
A2A-Beispiel
A2A-Beispiel
Anfrage:Antwort:
MCP-Beispiel
MCP-Beispiel
Anfrage:Antwort:
mailboxes.aliases.create
mailboxes.aliases.create.
| Eigenschaft | Wert | Eigenschaft | Wert |
|---|---|---|---|
| Erforderliche Berechtigung | mailbox.alias.manage | Authentifizierung erforderlich | ja |
| Ausführungsmodus | sync | Fähigkeit | mailbox.alias.manage |
| Ressourcentyp | account | Ressourcen-ID-Feld | account_id |
| Öffentliche API-Route | POST /v1/public/accounts/{account_id}/mailboxes/{mailbox}/aliases |
Argumente
Argumente
| Name | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
mailbox | str | ja |
alias | str | ja |
is_catch_all | bool | nein |
Rückgabe
Rückgabe
| Feld | Typ | Erforderlich |
|---|---|---|
alias | str | ja |
is_catch_all | bool | nein |
A2A-Beispiel
A2A-Beispiel
Anfrage:Antwort:
MCP-Beispiel
MCP-Beispiel
Anfrage:Antwort:
mailboxes.aliases.delete
mailboxes.aliases.delete.
| Eigenschaft | Wert | Eigenschaft | Wert |
|---|---|---|---|
| Erforderliche Berechtigung | mailbox.alias.manage | Authentifizierung erforderlich | ja |
| Ausführungsmodus | sync | Fähigkeit | mailbox.alias.manage |
| Ressourcentyp | account | Ressourcen-ID-Feld | account_id |
| Öffentliche API-Route | DELETE /v1/public/accounts/{account_id}/mailboxes/{mailbox}/aliases/{alias} |
Argumente
Argumente
| Name | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
alias | str | ja |
mailbox | str | ja |
Rückgabe
Rückgabe
| Feld | Typ | Erforderlich |
|---|---|---|
result | {} | ja |
A2A-Beispiel
A2A-Beispiel
Anfrage:Antwort:
MCP-Beispiel
MCP-Beispiel
Anfrage:Antwort:
mailboxes.bulk_add
mailboxes.bulk_add.
| Eigenschaft | Wert | Eigenschaft | Wert |
|---|---|---|---|
| Erforderliche Berechtigung | mailbox.create | Authentifizierung erforderlich | ja |
| Ausführungsmodus | sync | Fähigkeit | mailbox.create |
| Ressourcentyp | account | Ressourcen-ID-Feld | account_id |
| Öffentliche API-Route | POST /v1/public/accounts/{account_id}/mailboxes/bulk |
Argumente
Argumente
| Name | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
domain | str | ja |
items | [{"first_name": str, "last_name": str, "local_part": str}] | ja |
Rückgabe
Rückgabe
| Feld | Typ | Erforderlich |
|---|---|---|
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}}] | ja |
failed | [{"code": str, "index": int, "message": str}] | ja |
A2A-Beispiel
A2A-Beispiel
Anfrage:Antwort:
MCP-Beispiel
MCP-Beispiel
Anfrage:Antwort:
mailboxes.get
mailboxes.get.
| Eigenschaft | Wert | Eigenschaft | Wert |
|---|---|---|---|
| Erforderliche Berechtigung | mailbox.view | Authentifizierung erforderlich | ja |
| Ausführungsmodus | sync | Fähigkeit | mailbox.view |
| Ressourcentyp | account | Ressourcen-ID-Feld | account_id |
| Öffentliche API-Route | GET /v1/public/accounts/{account_id}/mailboxes/{mailbox} |
Argumente
Argumente
| Name | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
mailbox | str | ja |
Rückgabe
Rückgabe
| Feld | Typ | Erforderlich |
|---|---|---|
created_at | str | ja |
domain_id | str | ja |
domain_name | str | ja |
first_name | str | ja |
id | str | ja |
last_name | str | ja |
local_part | str | ja |
primary_email | str | ja |
quota | {"allowed": int, "used": int} | ja |
status | str | ja |
updated_at | str | ja |
aliases | [{"alias": str, "is_catch_all"?: bool}] | nein |
workspace_id | str | null | nein |
workspace_name | str | null | nein |
A2A-Beispiel
A2A-Beispiel
Anfrage:Antwort:
MCP-Beispiel
MCP-Beispiel
Anfrage:Antwort:
mailboxes.list
mailboxes.list.
| Eigenschaft | Wert | Eigenschaft | Wert |
|---|---|---|---|
| Erforderliche Berechtigung | mailbox.view | Authentifizierung erforderlich | ja |
| Ausführungsmodus | sync | Fähigkeit | mailbox.view |
| Ressourcentyp | account | Ressourcen-ID-Feld | account_id |
| Öffentliche API-Route | GET /v1/public/accounts/{account_id}/mailboxes |
Argumente
Argumente
| Name | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
domain | str | null | nein |
page | int | nein |
page_size | int | nein |
search | str | null | nein |
workspace_id | str | null | nein |
Rückgabe
Rückgabe
| Feld | Typ | Erforderlich |
|---|---|---|
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}] | ja |
page | int | ja |
page_size | int | ja |
total | int | ja |
A2A-Beispiel
A2A-Beispiel
Anfrage:Antwort:
MCP-Beispiel
MCP-Beispiel
Anfrage:Antwort:
mailboxes.reveal_credentials
mailboxes.reveal_credentials.
| Eigenschaft | Wert | Eigenschaft | Wert |
|---|---|---|---|
| Erforderliche Berechtigung | mailbox.credential.reveal | Authentifizierung erforderlich | ja |
| Ausführungsmodus | sync | Fähigkeit | mailbox.credential.reveal |
| Ressourcentyp | account | Ressourcen-ID-Feld | account_id |
| Öffentliche API-Route | POST /v1/public/accounts/{account_id}/mailboxes/{mailbox}/reveal-credentials |
Argumente
Argumente
| Name | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
mailbox | str | ja |
Rückgabe
Rückgabe
| Feld | Typ | Erforderlich |
|---|---|---|
password | str | ja |
username | str | ja |
A2A-Beispiel
A2A-Beispiel
Anfrage:Antwort:
MCP-Beispiel
MCP-Beispiel
Anfrage:Antwort:
mailboxes.update
mailboxes.update.
| Eigenschaft | Wert | Eigenschaft | Wert |
|---|---|---|---|
| Erforderliche Berechtigung | mailbox.update | Authentifizierung erforderlich | ja |
| Ausführungsmodus | sync | Fähigkeit | mailbox.update |
| Ressourcentyp | account | Ressourcen-ID-Feld | account_id |
| Öffentliche API-Route | PATCH /v1/public/accounts/{account_id}/mailboxes/{mailbox} |
Argumente
Argumente
| Name | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
mailbox | str | ja |
first_name | str | null | nein |
last_name | str | null | nein |
Rückgabe
Rückgabe
| Feld | Typ | Erforderlich |
|---|---|---|
created_at | str | ja |
domain_id | str | ja |
domain_name | str | ja |
first_name | str | ja |
id | str | ja |
last_name | str | ja |
local_part | str | ja |
primary_email | str | ja |
quota | {"allowed": int, "used": int} | ja |
status | str | ja |
updated_at | str | ja |
aliases | [{"alias": str, "is_catch_all"?: bool}] | nein |
workspace_id | str | null | nein |
workspace_name | str | null | nein |
A2A-Beispiel
A2A-Beispiel
Anfrage:Antwort:
MCP-Beispiel
MCP-Beispiel
Anfrage:Antwort: