> ## Documentation Index
> Fetch the complete documentation index at: https://speedypage.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Email disk usage

> How to check email storage usage and delete old or large messages in cPanel to free up space.

Each email account uses disk space on your hosting plan. When a mailbox reaches its quota, the server bounces incoming messages back to the sender. The Email Disk Usage tool in cPanel shows you which accounts and folders are using the most space and lets you delete messages in bulk.

## Check disk usage

<Steps>
  <Step title="Open Email Disk Usage">
    Log in to cPanel through your [client area](https://my.speedypage.com) or at `yourdomain.com/cpanel`. Go to **Email** and click **Email Disk Usage**.
  </Step>

  <Step title="Select the account">
    Choose an email account from the **Account** menu.
  </Step>

  <Step title="Review the mailboxes">
    The table lists each mailbox folder (Inbox, Sent, Drafts, Trash, and any custom folders) along with the number of messages and the space used. Click a column heading to sort by name, message count, or size.
  </Step>
</Steps>

## Delete messages to free space

<Steps>
  <Step title="Choose a mailbox">
    Click **Manage** next to the mailbox folder you want to clean up.
  </Step>

  <Step title="Pick a removal option">
    Select one of the built-in filters:

    * **1 year old or more** — removes messages older than a year
    * **30MB in size or more** — removes large messages (attachments are usually the cause)
    * **Previously viewed** — removes messages you have already read
    * **All messages** — removes everything in the folder

    You can also choose **Custom query** and enter a Dovecot search query. For example:

    * `LARGER 5M` — messages larger than 5 MB
    * `BEFORE 01-Jan-2025` — messages received before 1 January 2025
  </Step>

  <Step title="Confirm the deletion">
    Click **Delete Permanently**.
  </Step>
</Steps>

<Warning>
  Deleted messages cannot be recovered. Check that you have the right folder and filter selected before confirming.
</Warning>

<Tip>
  Start with large messages and old trash. The Sent and Trash folders often hold a surprising amount of data that is safe to clear out.
</Tip>

## Prevent disk usage problems

* Set a reasonable [storage quota](/web-hosting/email/manage-accounts) for each account so one mailbox cannot consume all your plan's disk space
* Empty the Trash folder regularly — deleted messages stay in Trash until you purge them
* Download large attachments locally and delete the emails from the server
* If an account consistently runs out of space, consider increasing its quota or archiving old mail
