Write Gmail in Emacs the Easy Way: gmail-message-mode09 Aug 2014, by Artur Malabarba.
Trying out the myriad of Emacs mail clients is no less than an odyssey. I am proud to say I dove into this sea of protocols and credentials and emerged from it a better man, albeit empty handed.
I do not blame the clients available. Gnus and Mew, in particular, are both Herculean beasts of coding prowess. It was I who failed, regrettably, to fit them into my workflow. Thus I designed my own solution.
gmail-message-mode combines all the features of Gmail's web interface, with the editing prowess we all love about Emacs. How does it work?
- First of all, it is not a mail client.
- In you browser, when composing a message, you invoke a hotkey that sends you to Emacs.
- In Emacs, you can use plain text or the full power of Markdown to write your email.
- Hit C-x # to finish your edits and
gmail-message-modeseamlessly converts the message back to Gmail's format (html).
The installation process is as follows.
Install the mode
(package-install 'gmail-message-mode) will do. If you'd
like to install manually, see the Readme.
Configure your browser
Chrome and Firefox require an extra add-on for editing text-fields in Emacs. Conkeror works out of the box.
Install a Markdown converter
You need an executable so that Emacs can convert the Markdown to HTML.
I personally recommend Pandoc. Many distros also have a
If you choose something else, see the