Seems like it’s concatenating my device_id + username + @gmail.com
Which is not a valid email address, then using it to send the email via smtp.gmail.com:465
via SMTP server smtp.gmail.com:465
2019-07-04T20:17:12.800373 error [SMTP] << 2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-CHUNKING
250 SMTPUTF8 (ERROR) Expecting code: 250
This is running on Ubuntu Server on pi3