set from = "xinyz_hk@outlook.com"
set sendmail = "/usr/local/bin/msmtp -a outlook-xinyz_hk"

# Set folders
set spoolfile = "+outlook-xinyz_hk/INBOX"
set postponed = "+outlook-xinyz_hk/INBOX"
set record = "+outlook-xinyz_hk/INBOX"
set trash = "+outlook-xinyz_hk/INBOX"

color status cyan default

macro index o "<shell-escape>mbsync outlook-xinyz_hk<enter>" "run mbsync to sync mail for this account"

macro index,pager s \
  "<enter-command>set my_old_resolve=\$resolve noresolve<enter>\
  <tag-prefix><clear-flag>n<enter-command>set resolve=\$my_old_resolve<enter>\
  <save-message>+outlook-xinyz_hk/junk<enter>" \
  "mark as read and move to junk folder"

macro index,pager i \
  "<save-message>+outlook-xinyz_hk/INBOX<enter>"  \
  "move message to the inbox"

