Configuring preferences and options in Outlook.com
No worries, it's totally understandable. Like I said, I stood this up for myself but figured I'd see if anybody else was interested.
Essentially, the service is a TLS/basic auth SMTP server that's compatible with Gmail. It accepts a raw SMTP payload from Gmail and then shoves it directly into Microsoft's sendMail API (https://learn.microsoft.com/en-us/graph/api/user-sendmail?view=graph-rest-1.0&tabs=http#example-4-send-a-new-message-using-mime-format), which is why I need the Mail.Send permission. With OAuth, the service can access only what you allow it in the confirmation screen and you have the power to revoke the permissions whenever you want. When you auth, it generates a random password (similar to the app-password system) that you can use in Gmail:
If you want to do it yourself, you can use https://github.com/simonrob/email-oauth2-proxy/ as a starting point. You'll need to setup a server with a domain name + SSL certificate so that Gmail can communicate with your server securely (let's encrypt is free for that https://certbot.eff.org/).
<Removed-CoC>