in reply to How do I read messages from my gmail account

This looks like the thing to use.
Net::IMAP::Simple::Gmail = Gmail specific support for Net::IMAP::Simple
Good luck,

  • Comment on Re: How do I read messages from my gmail account