The client takes up too much space or disk space is insufficient?
PC_Mail:
Select the account (or an individual mail folder), right-click - More - Compress, and previously deleted emails will be cleared.
(Deleting emails locally only marks them for deletion; compression frees up the space occupied by completely deleted emails)