nixos/home/emacs/modules/custom-email-config.el
Evie Litherland-Smith a1f19f7565 Email updates
Add afew to handle new email tagging and moving archived or deleted
mail

Add more notmuch emacs config - fcc dirs based on send address, saved
searches default to tree view, better modeline icon
2023-10-24 18:15:21 +01:00

21 lines
1.2 KiB
EmacsLisp

(require 'notmuch)
(notmuch-indicator-mode)
(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 '((".*@proton.me" . "Proton/Sent")
(".*@icloud.com" . "iCloud/Sent")
(".*@ukaea.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 "󰮒 ")))
(provide 'custom-email-config)