imap_update_account
Update an existing IMAP account's settings, such as SMTP configuration, without needing to delete and recreate the account.
Instructions
Update an existing IMAP account. Useful for fixing SMTP settings without removing and re-adding the account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tls | No | Use TLS for IMAP | |
| host | No | IMAP host | |
| name | No | New friendly name | |
| port | No | IMAP port | |
| user | No | IMAP username | |
| No | Email address (From: header) | ||
| password | No | New password | |
| smtpHost | No | SMTP hostname | |
| smtpPort | No | SMTP port (465 for SMTPS, 587 for STARTTLS) | |
| smtpUser | No | SMTP username (if different from IMAP user) | |
| accountId | Yes | ID of the account to update | |
| saveToSent | No | Save sent emails to the Sent folder | |
| smtpSecure | No | Use implicit TLS (SMTPS). Port 587/25 always use STARTTLS regardless | |
| smtpPassword | No | SMTP password (if different from IMAP password) |