imap_add_account
Add a new IMAP account configuration by specifying server host, port, credentials, and optional SMTP details to enable sending emails.
Instructions
Add a new IMAP account configuration
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 |