Yup, its already setup. I’ve currently got mutt running with a davmail middle, but its slow. A long time ago, we just had IMAP enabled and I used mbsync for a while with a local mbox. But it slowly turned into a mess. Since then we’ve enabled 2FA on O365 and so far I’ve only gotten davmail to work.