Create Folder
createFolderCreates a mail subfolder under a specified parent folder or a saved search as a live view without moving messages.
Instructions
Create a mail subfolder under parentFolderPath (from listFolders), or with savedSearch a saved search (a live view; no mail moves). Returns { success, path }; an existing name is an error. On IMAP the server finishes later and path can be null: check with listFolders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the new subfolder | |
| savedSearch | No | Create a saved search (live view, nothing moved) instead of a subfolder | |
| parentFolderPath | Yes | URI of the parent folder (from listFolders) |