email: move some gmail specific settings to gmail.el

This commit is contained in:
Sean Farley
2019-01-21 16:10:27 -08:00
parent 4b8c21a34b
commit 03f4a91c93
2 changed files with 11 additions and 3 deletions

View File

@@ -2,7 +2,14 @@
(after! mu4e
;; don't save message to Sent Messages, Gmail/IMAP takes care of this
(setq mu4e-sent-messages-behavior 'delete)
(setq mu4e-sent-messages-behavior 'delete
;; don't need to run cleanup after indexing for gmail
mu4e-index-cleanup nil
;; because gmail uses labels as folders we can use lazy check since
;; messages don't really "move"
mu4e-index-lazy-check t)
;; In my workflow, emails won't be moved at all. Only their flags/labels are
;; changed. Se we redefine the trash and refile marks not to do any moving.