Connect a Gmail mailbox
connect_mailboxConnect a Gmail or Google Workspace account under a friendly alias. Google sign-in authorizes access, and the refresh token is stored only on this computer.
Instructions
Connect a Gmail or Google Workspace account under a friendly alias. This opens Google sign-in in the user's browser and stores the resulting refresh token only on this computer.
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": {
"alias": "<alias>"
},
"name": "connect_mailbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | Yes | Friendly mailbox name such as personal or work, with or without @. | |
| replace | No | Set true only after the user confirms replacing an existing alias. |