Hello, after oauth2ms has been working perfectly (thank you very much @harishkrupo) for a couple of months, with the arrival of the new year it started spitting out IMAP command 'NAMESPACE' returned an error: BAD User is authenticated but not connected.. Removal and recreation of credentials.bin did not have any effect, neither logging out from outlook.com.
Any ideas what this is about?