add_workspace_mailbox
Connect a Gmail mailbox of a Google Workspace domain through domain-wide delegation - no password and no sign-in by the person. Requires that the customer's Workspace admin authorised our service account (docu/google-workspace-postfaecher.md) and that the domain is enabled for this tenant (set_integration_credentials provider google_workspace, credentials.domains). Verifies by reading the person's Gmail profile before saving. An existing mailbox with the same address (password or OAuth) is switched over instead of duplicated. owner_user_id: whose mailbox it is (default: the caller); setting up someone else's needs the admin role.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"email": "<email>"
},
"name": "add_workspace_mailbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name of the workspace mailbox | |
| Yes | Email address | ||
| services | No | Also connect these services of the same person through the delegation (calendar, Meet transcripts, Drive with write access). Result per service; one may fail without the others. | |
| from_name | No | Sender display name | |
| owner_user_id | No | User id of the person the mailbox belongs to. Default: the caller. |