Setting up offline email for Microsoft O365 with notmuch and emacs

Having to deal with Microsoft&#x27;s outlook has been a growing pain with my computing needs. Of course, this is pertinent only for work email. For personal email, I use Migadu which has good standards for email unlike Microsoft&#x27;s. At work, I can only use either the official Outlook webmail or Thunderbird since those are the only clients that are whitelisted by the IT department at my…