fixes unread messages count for email folder tree