in reply to read mail

That depends just what you mean by "read mails from in box". If you mean download mail from a POP3 server then Mail::POP3Client is worth a try. If you mean something else you need to be much more specific.

In any case you probably also want MIME::Parser to work with the contents of the email.

True laziness is hard work