imap_add_account
Add a new IMAP account with server, credentials, and optional SMTP settings for email management.
Instructions
Add a new IMAP account configuration
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": {
"name": "<name>",
"host": "<host>",
"user": "<user>",
"password": "<password>"
},
"name": "imap_add_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tls | No | Use TLS/SSL (default: true) | |
| host | Yes | IMAP server hostname | |
| name | Yes | Friendly name for the account | |
| port | No | IMAP server port (default: 993) | |
| user | Yes | Username for authentication | |
| No | Email address (From: header). Defaults to user if omitted | ||
| password | Yes | Password for authentication | |
| smtpHost | No | SMTP server hostname. Defaults to IMAP host with imap.→smtp. rewrite | |
| smtpPort | No | SMTP server port (465 for SMTPS, 587 for STARTTLS). Defaults to 587 | |
| smtpSecure | No | Use implicit TLS (SMTPS). Ignored for port 587/25 which always use STARTTLS, and for port 465 which always uses implicit TLS |