added unread messages tracking for the inbox