Rename Folder
rename_folderRename custom email folders or labels. System folders are protected and cannot be renamed.
Instructions
Rename a custom folder or label. Protected system folders cannot be renamed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newName | Yes | New folder path | |
| oldName | Yes | Current folder path | |
| account_id | No | Optional account ID to route this call to (multi-account configs). Omit to use the active account. Configured account IDs are listed in the settings UI (Accounts tab). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| success | Yes | ||
| messageId | No |