rename_folder
Rename or move a mailbox folder to a new IMAP path. Messages are preserved, and the local cache refreshes automatically.
Instructions
Rename or move a mailbox folder to a new IMAP path. Existing messages are preserved in place. Do NOT rename system folders (INBOX, Sent, Trash, Archive, Spam). Refreshes the local folder cache after the operation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Existing folder path. | |
| newPath | Yes | New folder path. |