Email alerts (dock icon and app sidebar) arent showing up in any more in 10.9 I've just switched to OSX 10.9 and one thing that I've noticed isn't working are mail alerts in the mail.app side bar and dock icon. 

I've got several email accounts, all of them gmail - some gmail.com and some on their own domain using google apps for business.

The really odd thing is that it seems to work on one account, but not others. I'm still getting all my emails but the red alert in the dock icon and the number in the side bar like the images below aren't showing up, apart for one account.

What's really strange is that I still get the emails showing up as notifications in the top corner of my screen and showing up in the email folders, but I'm just not getting the alerts.  

Has any one else experienced this?
Mail.app in 10.9 has had (and still have, for some) massive problems with Gmail-based accounts.

In the first couple of Developer Previews Mail.app was completely unusable for me. When the Golden Master (final release) of 10.9 came out it was better but still horrible compared to earlier versions of OS X. In my case, Mail did actually show the unread badge, it just showed a number was way off!

Try to update OS X to 10.9.1 which makes Gmail-based accounts work better. Also, there was a stand-alone Mail Update for Mavericks which fixed the badge problem for my.

You probably know but it's through the App Store or Apple menu () > Software Update.