calculate unread messages
corrected query
Merge pull request #45 from jhorbulyk/sluo-unreadmessages

calculate unread messages