# Gmail mailboxes: # "All Mail" # "Drafts" # "Important" # "Sent Mail" # "Spam" # "Starred" # "Trash" IMAPAccount devel Host imap.gmail.com UserCmd "pass mbsync/devel-gmail-email" PassCmd "pass mbsync/devel-gmail" SSLType IMAPS AuthMechs LOGIN IMAPStore devel-remote Account devel MaildirStore devel-local Subfolders Verbatim # The trailing "/" is important Path ~/Mail/gmail-devel/ Inbox ~/Mail/gmail-devel/Inbox Channel devel-inbox Far :devel-remote:INBOX Near :devel-local:Inbox Create Both Expunge Both Sync All CopyArrivalDate yes Channel devel-sent Far :devel-remote:"[Gmail]/Sent Mail" Near :devel-local:sent Create Both Expunge Both Sync All CopyArrivalDate yes Channel devel-trash Far :devel-remote:"[Gmail]/Trash" Near :devel-local:trash Create Both Expunge Both Sync All CopyArrivalDate yes # Channel devel-archive # Far :devel-remote:"[Gmail]/All Mail" # Near :devel-local:archive # Create Near # Expunge Near # Sync Pull # CopyArrivalDate yes Group devel Channel devel-inbox Channel devel-sent Channel devel-trash # Channel devel-archive ################ # home account # ################ IMAPAccount home Host imap.gmail.com UserCmd "pass mbsync/home-gmail-email" PassCmd "pass mbsync/home-gmail" SSLType IMAPS AuthMechs LOGIN IMAPStore home-remote Account home MaildirStore home-local Subfolders Verbatim # The trailing "/" is important Path ~/Mail/gmail-home/ Inbox ~/Mail/gmail-home/Inbox Channel home-inbox Far :home-remote:INBOX Near :home-local:Inbox Create Both Expunge Both Sync All CopyArrivalDate yes Channel home-sent Far :home-remote:"[Gmail]/Sent Mail" Near :home-local:sent Create Both Expunge Both Sync All CopyArrivalDate yes Channel home-trash Far :home-remote:"[Gmail]/Trash" Near :home-local:trash Create Both Expunge Both Sync All CopyArrivalDate yes # Channel home-archive # Far :home-remote:"[Gmail]/All Mail" # Near :home-local:archive # Create Near # Expunge Near # Sync Pull # CopyArrivalDate yes Group home Channel home-inbox Channel home-sent Channel home-trash # Channel home-archive