Connect Gmail for sending
colliedesk_gmail_connectStart connecting a Gmail account to an email channel, so its replies are sent from that address through Gmail and kept in its Sent folder. Incoming mail arrives by forwarding; on a server that reads inboxes (colliedesk_email_channel_get, gmail.reads_inbox) the consent also asks to read email, and new inbox mail then comes in by itself. It answers Google's consent address: only the person this token acts as can finish it, by opening it within 10 minutes in a browser signed in to Colliedesk and agreeing on Google's page. Connecting again replaces the account. Needs the email channel and the server's Google settings (see colliedesk_email_channel_get, gmail). A workspace may have several email channels: give channel_id for one of them, or leave it out for the default one (is_default).
Needs: channels:manage_credentials.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "colliedesk_gmail_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | No | One email channel of several, from colliedesk_channels_list. Leave out for the default one (is_default in colliedesk_channels_list). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The provider's page, for the person this token acts as. | |
| next | Yes |