fixed whitespace issues
added prefmech check for XOAUTH2 SMTP
basic XOAUTH2 support for IMAP