nixos/home/emacs/modules/custom-email-config.el
Evie Litherland-Smith 249806bf29 Adjust order of elisp expressions
Change custom-email-config config to start modes *after* the setting
have been applied...
2023-10-25 09:20:22 +01:00

25 lines
1.4 KiB
EmacsLisp

(setq mail-user-agent 'notmuch-user-agent
notmuch-search-oldest-first nil
notmuch-show-logo nil
notmuch-hello-thousands-separator ","
notmuch-archive-tags '("-inbox" "+archive")
notmuch-fcc-dirs '((".*@xenia.me.uk" . "Proton/Sent")
(".*@proton.me" . "Proton/Sent")
(".*@litherlandsmith.slmail.me" . "Proton/Sent")
(".*@icloud.com" . "iCloud/Sent")
(".*@ukaea.uk" . "Outlook/Sent")
(".*@jet.uk" . "Outlook/Sent"))
notmuch-saved-searches '((:name "inbox" :query "tag:inbox" :key [105] :sort-order nil :search-type tree)
(:name "unread" :query "tag:unread" :key [117] :sort-order nil :search-type tree)
(:name "flagged" :query "tag:flagged" :key [102] :sort-order nil :search-type tree)
(:name "sent" :query "tag:sent" :key [116] :sort-order nil :search-type tree)
(:name "drafts" :query "tag:draft" :key [100] :sort-order nil :search-type tree)
(:name "all mail" :query "*" :key [97] :sort-order nil :search-type tree))
notmuch-indicator-refresh-count 60
notmuch-indicator-args '((:terms "tag:unread and tag:inbox" :label "󰮒 ")))
(require 'notmuch)
(require 'notmuch-indicator)
(notmuch-indicator-mode +1)
(provide 'custom-email-config)