authenticate_account
Authenticate and register email accounts from Google, Microsoft, Zoho, or IMAP/SMTP providers using headless OAuth device code flow.
Instructions
Authenticate and register a Google, Microsoft, Zoho, or IMAP/SMTP account. Supports headless OAuth (device code flow) with custom client/tenant configurations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | No | Additional configurations (e.g., host/ports for IMAP/SMTP or redirect URIs) | |
| clientId | No | OAuth Client ID (required for Google, Microsoft, Zoho) | |
| provider | Yes | ||
| tenantId | No | Microsoft Tenant ID (optional, defaults to common; use organizations for M365 accounts) | |
| accountId | Yes | Unique identifier / email address for this account | |
| appPassword | No | Plain text App Password (required for IMAP/SMTP) | |
| clientSecret | No | OAuth Client Secret (optional/required depending on provider) |