Free IMAP providers are unsupporting basic auth, requiring oauth instead. I wonder if it wouldn't be easier to have EE run its own SMTP server instead, removing the dependency on an external IMAP provider. Disadvantages: EE would need to be running essentially all the time (or at least when the email client is running), access would be restricted to the home network, and it might be necessary to manually switch the email client to use this server every time.
Free IMAP providers are unsupporting basic auth, requiring oauth instead. I wonder if it wouldn't be easier to have EE run its own SMTP server instead, removing the dependency on an external IMAP provider. Disadvantages: EE would need to be running essentially all the time (or at least when the email client is running), access would be restricted to the home network, and it might be necessary to manually switch the email client to use this server every time.