We all have at least two email signatures. One we use to friends and friendly colleagues, and another more professional signature which includes contact details and affiliation. This can be implemented with mu4e in emacs. When the user want to add an email signature, they hit
If the user wants a formal signature, they hit
f. The signature is then added at the cursor position.
I the user wants an informal signature, they instead hit
To add this functionality to mu4e, add the following elisp to your
(defun my-mu4e-choose-signature () "Insert one of a number of sigs" (interactive) (let ((message-signature (mu4e-read-option "Signature:" '(("formal" . (concat "Joe Bloggs\n" "Department, Company Name, Country\n" "W: http://www.example.com\n")) ("informal" . "Joe\n"))))) (message-insert-signature))) (add-hook 'mu4e-compose-mode-hook (lambda () (local-set-key (kbd "C-c C-w") #'my-mu4e-choose-signature)))