IMAPAccount protonmail
Host 127.0.0.1
User jadenprovost@proton.me
PassCmd "cat ~/.authinfo | awk '/machine 127.0.0.1 port 1143/ {print $NF}'"
Port 1143
TLSType STARTTLS
AuthMechs LOGIN
CertificateFile ~/.config/protonmail/bridge/cert.pem

IMAPStore protonmail-remote
Account protonmail

MaildirStore protonmail-local
Subfolders Verbatim
Path ~/.mail/
Inbox ~/.mail/INBOX
SubFolders Verbatim

Channel protonmail
Far :protonmail-remote:
Near :protonmail-local:
Patterns * "!All Mail"
Create Both
Expunge Both
SyncState *
