feat: set up mutt with isync
GitOrigin-RevId: ed8952fc9d50e6268991c6082bf99bc6db4bf247
diff --git a/private_dot_config/isyncrc.tmpl b/private_dot_config/isyncrc.tmpl
new file mode 100644
index 0000000..69f6439
--- /dev/null
+++ b/private_dot_config/isyncrc.tmpl
@@ -0,0 +1,27 @@
+# Config file for isync's mbsync
+#
+# Heavily inspired by:
+# https://wiki.archlinux.org/index.php?title=Isync&oldid=823186#Configuring.
+
+IMAPAccount gmail
+Host imap.gmail.com
+# The User and PassCmd fields are not available in dotfiles-external, only in
+# the private repo, sorry.
+AuthMechs XOAUTH2
+TLSType IMAPS
+
+IMAPStore gmail-remote
+Account gmail
+
+MaildirStore gmail-local
+SubFolders Verbatim
+Path ~/.mail/gmail/
+Inbox ~/.mail/gmail/Inbox
+
+Channel gmail-inbox
+Far :gmail-remote:
+Near :gmail-local:
+Patterns "INBOX" "[Gmail]/Drafts"
+Create Both
+Expunge Both
+SyncState *