diff --git a/dotfiles/.emacs.d/email.org b/dotfiles/.emacs.d/email.org index ea9a7e8..5d9e2b1 100644 --- a/dotfiles/.emacs.d/email.org +++ b/dotfiles/.emacs.d/email.org @@ -92,7 +92,7 @@ This section contains the ~mu4e~ emacs specific configuration. ;; Config mu4e bookmarks (setq mu4e-bookmarks - '((:name "Filtered unread messages" :query "flag:unread AND (maildir:/Archive OR maildir:/Inbox) AND NOT flag:trashed" :key ?u) + '((:name "Filtered unread messages" :query "flag:unread AND (maildir:/Archive OR maildir:/INBOX) AND NOT flag:trashed" :key ?u) (:name "All unread messages" :query "flag:unread" :key ?U) (:name "Today's messages" :query "date:today..now" :key ?t) (:name "Last 7 days" :query "date:7d..now" :hide-unread t :key ?w) @@ -100,7 +100,7 @@ This section contains the ~mu4e~ emacs specific configuration. (setq mu4e-maildir-shortcuts ;; Proton folders - '((:maildir "INBOX" :key ?i) + '((:maildir "/INBOX" :key ?i) (:maildir "/Archive" :key ?a) (:maildir "/Drafts" :key ?d) (:maildir "/Sent" :key ?s) diff --git a/dotfiles/.mbsyncrc b/dotfiles/.mbsyncrc index 7160378..c1b48c4 100644 --- a/dotfiles/.mbsyncrc +++ b/dotfiles/.mbsyncrc @@ -1,7 +1,7 @@ IMAPAccount protonmail Host 127.0.0.1 User jadenprovost@proton.me -PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.emacs.d/.mbsyncpass.gpg | awk '/1143/ {print $NF}'" +PassCmd "cat ~/.authinfo | awk '/machine 127.0.0.1 port 1143/ {print $NF}'" Port 1143 TLSType STARTTLS AuthMechs LOGIN @@ -21,5 +21,5 @@ Far :protonmail-remote: Near :protonmail-local: Patterns * "!All Mail" Create Both -Expunge None +Expunge Both SyncState *