My GMail module for Python

Click here to download:
mailcheck.py (2 KB)

Here's how you use it:

import mailcheck

mailcheck.set_credentials('yourusername', 'yourpassword')
mailcheck.check_mail(deleteOld=False)

for message in mailcheck.messages:
    print message[0].sender
    print message[0].body

Let me know if you have any suggestions for my code.  If not, I at least hope it's useful!

- Henson

Posted