Added SMTP authentication option for XOAUTH2. Implementation based on the Gmail SMTP API (https://developers.google.com/gmail/xoauth2_protocol).