Mailman gem

Hi All

Anyone used Mailman gem to get mails and download attachments.

I using Mailman::POP3 to connect to Gmail mail server I got struck getting Timeout error:

I thought I am behind the firewall so I need to set proxy but I could not able to find how to set proxy setting Mailman?

Anyone please help me resolve the same.