Corion hasn't used his telepathic powers on this one yet, so I'll try to use my weaker ones.
-
Delete the use line that wants to include the module. Then add that use line again rewriting it from scratch. Try to see if this changes anything.
-
Instead of scraping gmail with mechanize, get some modules that use the underlying protocols (POP3/IMAP to download email from your mailbox, SMTP to send mail, XMPP to chat).
-
Update: if all else fails, try copying the exact source and the exact error message here. If possible, use a computer to copy them, don't copy by hand.
(Note: there was some discussion in the chatterbox that precedes this.)