aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d/config/rul-config-mail.el
blob: 143bbc376b52cfcb393c94375464d38ba1490127 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
;; Mutt support.
(setq auto-mode-alist (append '((".*tmp/mutt.*" . message-mode)) auto-mode-alist))
(setq auto-mode-alist (append '((".*tmp/neomutt.*" . message-mode)) auto-mode-alist))

;; Hook up `mutt:...` style URLs
(use-package ol-notmuch :ensure t)
(org-add-link-type "message" 'org-notmuch-open)

(setq send-mail-function 'sendmail-send-it
      sendmail-program "/usr/bin/msmtp"
      mail-specify-envelope-from t
      message-sendmail-envelope-from 'header
      mail-envelope-from 'header)

(provide 'rul-config-mail)
nihil fit ex nihilo