Remove SMTP Authentication in favor of a proper implementation of OAUTH2

Description

Client relies on SMTP authentication for logging into Microsoft OAUTH2 accounts. This is not best practice and fails when SMTP auth is disabled, as it should be in an enterprise production environment in favor of using a proper implementation of OAUTH2.

To Reproduce…

Steps to reproduce the behavior:

1.Try to add an Office 365 account with smtp auth disable.

2.Auth fails

3.Rinse and repeat ad nauseum.

Expected Behavior

Log in properly fully supporting OAUTH2

Screenshots

Many others have shared.

Setup

Mailspring 1.13.3

  • OS and Version: Windows 11
    • Installation Method: MSI Installer
  • Mailspring Version: Can’t access menu due to loop bug with smtp auth disabled

Additional Context

Please properly implement OAUTH2 to support logging in to tenants without relying on smtp authentication. This is bad practice!

Is there any progress on OAuth2 implementation in mailspring?