Remove mu and wanderlust for notmuch

This commit is contained in:
Evie Litherland-Smith 2023-09-28 18:54:36 +01:00
parent 61c5434ba3
commit d1483e5989
4 changed files with 11 additions and 42 deletions

View file

@ -15,7 +15,6 @@
hooks.postNew = "${pkgs.notifymuch}/bin/notifymuch";
};
msmtp.enable = true;
mu.enable = true;
};
accounts.email = {
maildirBasePath = ".mail";
@ -56,7 +55,6 @@
auth = "login";
};
};
mu.enable = true;
notmuch.enable = true;
};
icloud = rec {
@ -76,7 +74,6 @@
subFolders = "Verbatim";
};
msmtp.enable = true;
mu.enable = true;
notmuch.enable = true;
};
};

View file

@ -39,46 +39,19 @@
(add-hook 'magit-mode-hook (lambda () (magit-delta-mode +1))))
;; mail settings
(setq sendmail-program (executable-find "msmtp")
send-mail-function #'smtpmail-send-it
mail-specify-envelope-from t
mail-envelope-from 'header
message-sendmail-envelope-from 'header
message-sendmail-f-is-evil t
message-sendmail-extra-arguments '("--read-envelope-from")
message-send-mail-function #'message-send-mail-with-sendmail)
(after! notmuch
(setq +notmuch-sync-backend 'mbsync)
(set-popup-rule! "^\\*notmuch-hello" :ignore t))
(after! mu4e
(setq mu4e-get-mail-command "true"
mu4e-update-interval 60
mu4e-sent-messages-behavior 'delete
mu4e-attachment-dir "~/Downloads"
mu4e-change-filenames-when-moving t
sendmail-program (executable-find "msmtp")
send-mail-function #'smtpmail-send-it
message-sendmail-f-is-evil t
message-sendmail-extra-arguments '("--read-envelope-from")
message-send-mail-function #'message-send-mail-with-sendmail)
;; Add accounts with contexts
(set-email-account! "proton.me"
'((user-mail-address . "e.litherlandsmith@proton.me")
(mu4e-sent-folder . "/Proton/Sent")
(mu4e-drafts-folder . "/Proton/Drafts")
(mu4e-trash-folder . "/Proton/Trash")
(mu4e-refile-folder . "/Proton/Archive"))
t)
(set-email-account! "icloud.com"
'((user-mail-address . "e.litherlandsmith@icloud.com")
(mu4e-sent-folder . "/iCloud/Sent")
(mu4e-drafts-folder . "/iCloud/Drafts")
(mu4e-trash-folder . "/iCloud/Trash")
(mu4e-refile-folder . "/iCloud/Archive"))
nil)
(set-email-account! "ukaea.uk"
'((user-mail-address . "evie.litherland-smith@ukaea.uk")
(mu4e-sent-folder . "/UKAEA/Sent")
(mu4e-drafts-folder . "/UKAEA/Drafts")
(mu4e-trash-folder . "/UKAEA/Trash")
(mu4e-refile-folder . "/UKAEA/Archive"))
nil)
)
;; Calendar settings
(defun open-calendar-all ()
(interactive)

View file

@ -176,9 +176,9 @@
;; zig ; C, but simpler
:email
(mu4e +org +gmail)
;; (mu4e +org +gmail)
(notmuch +afew +org)
(wanderlust +gmail)
;; (wanderlust +gmail)
:app
calendar

View file

@ -59,7 +59,6 @@
auth = "login";
};
};
mu.enable = true;
notmuch.enable = true;
};
};