A simple extension which gets the unread count of messages