cPanel offers great interfaces to check the total email disk usage of your hosting account and detailed disk usage of each mailbox. Also provide a tool to delete old messages to free up disk space. Here is how to use them:
If you need to customize the default 1 year period, choose 'Custom query ...' from the list, and enter the custom search query. For example, the query below will select all messages older than June 23, 2021
- Deleted messages are deleted permanently, it will not go to the trash so be careful.
- The custom query uses the date in message header so it may not exactly match your expected time due delivery delay or time zone settings, so give your query a margin to avoid mistakes.