Connect a mailbox
connect_gmailConnect an email inbox to send from Gmail, Google Workspace, Outlook, Microsoft 365, Zoho, Fastmail, or any IMAP/SMTP provider; get a sign-in link or app-password steps to authorize it.
Instructions
Start connecting an inbox to send from: Gmail/Google Workspace, Outlook/Microsoft 365, Zoho, Fastmail or any IMAP/SMTP provider. With provider "outlook" it returns a Microsoft sign-in link for the user to open and approve. For the others it returns a Google consent link where the server offers one, or else a link (or CLI command) and the steps for the user to connect the inbox with an app password. The password goes into that page or the CLI, not into chat. The inbox shows among the workspace's mailboxes once connected.
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": "connect_gmail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Account to pre-select on Microsoft's or Google's sign-in page | ||
| provider | No | outlook for Outlook / Microsoft 365; gmail (default) or other for the rest |