Webmail showing internal server error with user over quota even if the quota is in the limit. This can not fixed by increasing the disk quota as the error is showing because the overquota status is cached. To fix this you need to remove the “cpanel username” file in the folder /var/cpanel/overquota/
cd /var/cpanel/overquota rm -rf "cpanelusername"