IMAPAccount outlook
Host outlook.office365.com
Port 993
User robharbaugh@outlook.com
AuthMechs XOAUTH2
PassCmd "python3 /usr/share/neomutt/oauth2/mutt_oauth2.py ~/.config/neomutt/outlook.tokens --decryption-pipe 'gpg --decrypt'"
TLSType IMAPS
CertificateFile /etc/ssl/certs/ca-bundle.crt

IMAPStore outlook-remote
Account outlook

MaildirStore outlook-local
SubFolders Verbatim
Path ~/mail/outlook/
Inbox ~/mail/outlook/Inbox/

Channel outlook
Far :outlook-remote:
Near :outlook-local:
Patterns * !Junk !Deleted
Create Near
Sync All
Expunge Near
SyncState *