View number of unread mail

Is it possible to create a lookup or someting in a page and find out how many unread mail a user has in the mailbox. I would like to make a “counter” at an intranet site to tell the user if he or she has a number of unread mail.