Badge only shows unread count for 1 email account

I have both my exchange and gmail accounts on mailspring, but only exchange unread emails will show up on the badge on dock.

(Originally posted by tmmttm on GitHub.)

Hey! This is a super old behavior of Mailspring that I think we need to change - it only shows the unread count on the badge icon of the account you’re currently viewing. To see the badge count for all your mailboxes, you need to be using Mailspring in the unified inbox view.

I’ll see if we can improve this behavior soon, I think there was a reason it worked this way back when the app was Nylas Mail, but there’s no reason for it now.

(Originally posted by bengotow on GitHub.)

The same is true of the tray icon. If we fix for one, we need to fix for both in the same pass.