email_add_account
Add a new IMAP or iCloud email account with host, port, and credentials, so you can search, send, and organize mail. Gmail and Outlook require the OAuth setup wizard.
Instructions
Add a new IMAP or iCloud email account (Gmail and Outlook require the setup wizard for OAuth)
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": {
"provider": "<provider>",
"name": "<name>",
"email": "<email>"
},
"name": "email_add_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tls | No | Use TLS (default: true) | |
| host | No | IMAP server hostname | |
| name | Yes | Display name for the account | |
| port | No | IMAP server port (default: 993) | |
| Yes | Email address | ||
| password | No | Password or app-specific password | |
| provider | Yes | Provider type: "imap" or "icloud" (Gmail/Outlook require OAuth setup wizard) | |
| smtpHost | No | SMTP server hostname | |
| smtpPort | No | SMTP server port |