Add XOAUTH2 support for logging into Gmail