You can also check Tk::POPMail in the
Tk-AppMaster distribution. It looks like a module, but may also be started as a standalone script, and has some more features like the ability to delete messages, send mail and limited MIME support (right now only in the CVS development tree).