Any solution to Set Mail Quota for emails account?

I have more than 30-35 email accounts of my clients on my server.
Many of them have a high usage and they don’t even delete newsletters or spam emails for many months.

Is there any solution around to set quota for email accounts?

Thank you.