Wrote a quick little script today to check and see if I have new email.
I am using the standard imaplib library along with python-ntlm with a imap patch found on https://github.com/xulz/python-ntlm
I didn’t really want to save my cleartext password in the script so pickled the ImapNtlmAuthHandler