IMAP headaches caused by GMAIL
scripts.mit.edu