MailSo message count optimizations