nixos/home/emacs/modules/custom-email-config.el
Evie Litherland-Smith 9f19f3a626 Email setting updates
Add more tagging rules to afew

Change syncing setup to run mbsync less frequently (every 30 mins) but
sync inboxes in notmuch pre hook.
Imapnotify can now just call notmuch

Update conditions to refresh notmuch-indicator (emacs)
2023-10-26 13:09:11 +01:00

21 lines
1,001 B
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-indicator-args '((:terms "tag:unread and tag:inbox" :label "󰮒 "))
notmuch-indicator-force-refresh-commands '(notmuch-refresh-this-buffer
notmuch-refresh-all-buffers
notmuch-poll-and-refresh-this-buffer))
(require 'notmuch)
(require 'notmuch-indicator)
(notmuch-indicator-mode +1)
(provide 'custom-email-config)