Connect Google Workspace mailboxes
argorant_connect_google_workspaceConnect Google Workspace mailboxes as sending mailboxes, without passwords and without signing in to each mailbox. Use it for Google Workspace; Microsoft 365 and other providers connect on the Mailboxes page or through Argorant's own mailbox form. It works in two steps. Called without emails, it returns the client ID and the permissions the Workspace admin pastes in Google Admin > Security > API controls > Domain-wide delegation; once that is done, the same call lists every mailbox and alias. Then call it again with emails, or an empty list for all of them, to connect those addresses. Nothing is sent. Afterwards argorant_list_inboxes shows them and argorant_set_campaign_senders adds them to a campaign. More in the docs at https://docs.argorant.com/docs/agents/tools#mailboxes
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": {
"admin_email": "<admin_email>"
},
"name": "argorant_connect_google_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emails | No | The addresses to connect, from the list the first call returned. An empty list connects all of them. Leave it out on the first call. | |
| admin_email | Yes | The Google Workspace admin's address. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |