Hi all, I recently had to add XOAUTH2 support in smtpmail to access my two-factor authenticated Gmail account, which turned out to be surprisingly simple (my hack has about 20 lines of code, I guess it would about double to do it properly). It uses oauth2.el, so my plan would be to make smtpmail load that library on demand, in case the new smtpmail-xoauth2 variables are configured. I guess the required functionality could be copy-and-pasted, but that seems a waste. Is there any interest in a patch? -- Cesar Crusius