Just because not everybody uses POP3 to retreive mail.
Enjoy this little perl script that you can use along with fantastik and fantastikFX themes (may also work with other themes, but not tested, so might require some small changes).
You need Mail::IMAPClient (related debian package is libmail-imapclient-perl). Change account information in the script itself, then edit *.theme to match the script path and name (be aware that the script should be 700 as it contains password!)
I hope this will be useful.