should not include unread trashed messages in inbox count. closes gh-515