Script returning number of unread messages in given IMAP folders