IMAPStore mail-remote
Host {{@@ mail @@}}
Port  993
User {{@@ username @@}}@{{@@ mail @@}}
PassCmd "_get-pass {{@@ mail @@}}"
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt

MaildirStore mail-local
Subfolders Verbatim
Path  ~/.local/share/mail/
Inbox ~/.local/share/mail/INBOX
Flatten .

Channel mail-remote
Expunge Both
Master :mail-remote:
Slave :mail-local:
Patterns * !"[Gmail]/All Mail"
Create Both
SyncState *
# MaxMessages 0
# End profile

# vim: ft=sh
