Emacs with Wanderlust and GPG
Use Wanderlust to encrypt and decrypt messages
If you already haven't done so, install the GNU Privacy Guard (GnuPG). Your distribution almost certainly comes with a gpg package.
Mailcrypt makes the use of gpg within Emacs easy.
To prevent mailcrypt complain about the read only message buffer some tinkering have to be done to your .emacs file. After some googlesearches I found the following to work:
(require 'mailcrypt) (add-hook 'wl-summary-mode-hook 'mc-install-read-mode) (add-hook 'wl-mail-setup-hook 'mc-install-write-mode) (defun mc-wl-verify-signature () (interactive) (save-window-excursion (wl-summary-jump-to-current-message) (mc-verify))) (defun mc-wl-decrypt-message () (interactive) (save-window-excursion (wl-summary-jump-to-current-message) (let ((inhibit-read-only t)) (mc-decrypt)))) (eval-after-load "mailcrypt" '(setq mc-modes-alist (append (quote ((wl-draft-mode (encrypt . mc-encrypt-message) (sign . mc-sign-message)) (wl-summary-mode (decrypt . mc-wl-decrypt-message) (verify . mc-wl-verify-signature)))) mc-modes-alist)))
Encrypt message in Wanderlust
To encrypt a message, call M-x mc-encrypt.
Decrypt messages in Wanderlust
To decrypt a message, call M-x mc-wl-decrypt-message from the summary-buffer. You will be prompted for your password and the message will be decrypted.
Use Wanderlust and GMail to send and receive encrypted email
Now you have set up Wanderlust to send and receive encrypted email. It is very easy to use Wanderlust with GMail. So now you can use Wanderlust to send and receive encrypted email from your GMail account.