Delete Folder
deleteFolderDeletes a mail folder and all its contents, moving it to Trash or permanently removing it when already in Trash; on IMAP, check folder listing to confirm completion.
Instructions
Delete a mail folder and all its contents (a saved search is only a view: no mail deleted): moved to Trash, or deleted for good, possibly after asking the user, when already in Trash. On IMAP the server finishes later: check with listFolders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folderPath | Yes | URI of the folder to delete (from listFolders) |