Multiple Email Signatures with mu4e

Posted on November 16, 2014

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 C-c C-w.

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 i.

To add this functionality to mu4e, add the following elisp to your init.el.

(defun my-mu4e-choose-signature ()
  "Insert one of a number of sigs"
  (let ((message-signature
          (mu4e-read-option "Signature:"
            '(("formal" .
           "Joe Bloggs\n"
           "Department, Company Name, Country\n"
               ("informal" .

(add-hook 'mu4e-compose-mode-hook
          (lambda () (local-set-key (kbd "C-c C-w") #'my-mu4e-choose-signature)))