Right Click on a folder and select Empty Folder. You can clear the messages in the folder using the Empty Folder option. If you do not want to delete the associated filters, cancel deletion, navigate to the filters page and modify the filter settings to point another folder before deleting the folder.If you have a rule to move incoming messages to the folder, the filters associated with the folder will be automatically deleted.Select the ‘Delete this Folder’ option.
They will be deleted permanently when the Trash is emptied manually or by the system. When you delete a folder, the folder and its entire contents are moved to Trash. To learn more about IMAP, refer this page. The new folder will pop up in your configured IMAP clients. On creating a new folder, check the box View in IMAP client in the folder creation pop-up. You can view any new folders you create in your configured IMAP clients too, like your Gmail or Outlook account.