O365 accounts max two

Unable to add more than two O365 accounts, that pp crashes and this is pending since Aug 2022, can anyone resolve

Description

To Reproduce…

Steps to reproduce the behavior:

Expected Behavior

Screenshots

Setup

  • OS and Version:
    • Installation Method:
  • Mailspring Version:

Additional Context

Office 365 account setup guidance was improved in v1.20.0 with updated documentation and prompts. The key things for O365 accounts:

  1. Use OAuth (recommended): In account setup, select “Office 365 / Outlook” and complete the OAuth flow — this is the most reliable method
  2. Enable IMAP: Make sure that you’ve enabled IMAP and SMTP in your Outlook settings. If you don’t see the SMTP option, Outlook may be entirely blocking you from using third-party email clients to send mail.

Note: Microsoft has deprecated basic authentication for Exchange, so OAuth is the preferred path going forward.