in reply to Modules to check new mails

Do a CPAN search on POP3.
The first candidate is Net::POP3 or Net::POP3::SSLWrapper if you need SSL.