Macro index,pager gi =INBOX "Go to inbox" Macro index,pager gd =/Drafts "Go to 'Drafts'"
Macro index,pager gs =/Starred "Go to 'Starred'" Macro index,pager ga "=/All Mail" "Go to all mail" To do this we need to add certain macros such as moving email to Trash on delete and allowing reporting spam, etc. This should be enough to get going to use mutt with gmail but we would also like to have a consistent view of the mailbox if we ever were to switch back to the web version. Set certificate_file = ~/.mutt/certificatesĪlso, don't forget to actually create the cache directories and the certificate file: Set message_cachedir = ~/.mutt/victorparmar/bodies Set header_cache = ~/.mutt/victorparmar/headers Unset imap_passive # allow mutt to open new imap connection automatically Then, the following lines are required in muttrc. The first order of business is to enable IMAP support in your gmail account settings. If you would just like to skip to the end, my mutt configuration file can be found here.
GPG MAIL GMAIL INSTALL
This tutorial assumes that you have some familiarity with using mutt and have installed it with sidebar support ( sudo apt-get install mutt-patched for the ubuntu folks) and are comfortable with editing your muttrc.
GPG MAIL GMAIL PASSWORD
I recently switched to using mutt for email and while setting up mutt to use imap is pretty straightforward, this tutorial will also document some advanced concepts such as encrypting your account password and sending emails from a different From address.