Query your emails with SQL - Here are predefined queries for the Imap plugin.
List all the emails that are unread