rename_folder
Renames a mailbox folder or label by specifying the current and new path. Works for both 'Folders/' and 'Labels/' paths.
Instructions
Rename a mailbox folder or label. Errors if the source path does not exist. Works for both "Folders/" and "Labels/" paths.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | Current path (e.g. "Folders/Old" or "Labels/Old") | |
| to | Yes | New path (e.g. "Folders/New" or "Labels/New") |