16 ms·
Switching to the Mutt Email Client
- thinkMOAR 9y agoI can't (by now couldn't) imagine running mutt on my mobile to read email. So i just did to test, and it is horrible! :)
- erikb 9y agoHeadline: Huuuuugely important topic, give me content! Opening the text: That looks like 5% of what people need to get started. If you could summarize it to such a degree everybody would use mutt.
- jk2323 9y agoI tried Mutt a long time ago but did not like it (may not even got it to work properly). I always like Pine/Alpine. I only moved to Thunderbird, which is buggy and a resource hog, after I had to handle a dozen email accounts. Question: How are many POP/IMAP accounts are currently handled under Pine/Alpine? Possible?
- lightdot 9y agoI've been using multiple IMAP and SMTP accounts in Alpine for years, the setup works nicely. I've had some issues with how Alpine handles connection time outs though, as it annoyingly blocks the UI from time to time. Need to look further into this...
- stevekemp 9y agoConsole based mail-clients are very powerful and fast to use. I was a long-time mutt user before I started writing my own mail client, with complete scripting provided by Lua. Having a real scripting language allows a lot of useful features, at times using mutt felt a little bit too constrained, although it has a lot of features and is very very flexible in its own right: https://github.com/lumail/lumail https://github.com/lumail/lumail
- seuss1969 9y agoThen you should try looking at NeoMutt (www.neomutt.org). It's a pseudo fork of Mutt that has added a lot of new features. Recently it landed full Lua scripting support as well. Guess you're not the only one that was looking for more powerful configuration within mutt.
- guyzmo 9y agoI'm guilty of the Lua feature, and even though it's only covering the existing muttrc API, it can already do quite a lot. The Lua feature is (not yet) turned on by default at compile time (and thus in systems distributions). I'd be very happy to have more feedback and help to extend further that API and have some great scripts happening!
- stevekemp 9y agoI think the point where Lua gets interesting is when it can be invoked when a new message is received, or you can iterate over message heads & the message-list(s) and process them automatically. For example you might have a folder of "backup results", you'd want to mark all that have a subject of "Backup OK" as read, and flag the ones that have a subject of "Backup FAILED" as "important". Those are the kind of tasks I automate with my lua-based mail-client. You can get more interesting and say "Keep only the most recent 100 messages in folder XXX" which applies whenever you either launch the client, or open a given folder too.
- worldsayshi 9y agoThe article seems to think that everyone should switch away from HTML. But how well does console clients deal with HTML emails. It's not like you can tell everyone to stop sending you HTML.
- seuss1969 9y agoMutt deals surprisingly well with HTML emails. Most newsletters and other HTML mails usually come with a plain text version as well which Mutt will preferably display. Apart from that, you can make mutt pipe the HTML Email to a console browser for rendering. It works transparently. I've been doing this for a while now
- preek 9y agoInterestingly, I went the other way. I used to have mutt for years, then went through a dark phase (macOS Mail.app, Evernote and Things) and finally concluded to Emacs with mu4e. Integrating mail with Emacs was the best idea ever, because Emails include either todos or serve as reference in projects. Creating todos from Mails as well as linking to them from org-mode is only a shortcut away. I have never had a more easy to manage and productive todo management system - and it's all text, so there will never be breaking changes or paid upgrades or incompatibilities between tools that I cannot fix.
- disiplus 9y agofor me the only thing that i found that worked is Zero Inbox. i get a lot e-mail per day, most of them are not actionable ( notifications, statuses, replays for other departments and so on ) i archive them, and the ones that i have to handle are moved to wunderlist or replayed right away. this is the only solution that i found to work for me. I know that i have to handle it now inside wunderlist. but it works ok for me because is better sorted. i use evernote for some of the stuff, and i try to write everything. sure its not ideal but it is a lot better then it used to be where i would forget about some important stuff.
- preek 9y agoI did the same! With Things instead of Wunderlist. But my links to mail from Things and EN kept breaking. I also work with Inbox Zero and that's the primary reason for my switch - without references it got worthless.
- danieldk 9y agoI have also been using an emacs (spacemacs) + org + mu4e setup for 6 months or so. Unfortunately, everything seems to be really buggy and break at random moments. Also, there isn't a really good iOS integration story. So, I am slowly retracting and going back to vim, Mail.app, Things (and mutt every now and then ;)).
- preek 9y ago
- pmontra 9y agoI used some good emacs mail client up to 1995, then the need to read Office attachments made me switch to some Windows client. HTML messages were not a thing yet. The switch was a regression in functionality for at least ten years, up to outbound filters in Thunderbird. Edit: third question, how do you read mail on your phone? A couple of questions for the author. How do you handle attachments and do you download mail over POP3/IMAP or do you have your own server (hence SpamAssassin) ?
- pawadu 9y ago> how do you read mail on your phone Some people use this to turn their smartphones into a laptop. I guess you can use it to read email too: https://www.marcbilodeau.com/termux/ https://www.marcbilodeau.com/termux/ edit: this makes me want to buy a smartphone with physical keyboard. maybe I should pull the trigger on the Blackberry keyone...
- taeric 9y agoI quit reading work mail on my phone. Has been a huge sanity booster.
- HugoDaniel 9y agoVery good. I could easily complement this with a calendar terminal app. Anyone knows of a terminal calendar app to keep appointments ? (similar to the apple calendar, or google calendar)
- yosamino 9y agoI use (i)khal and vdirsyncer from here https://pimutils.org/ https://pimutils.org/
- deleted 9y ago[deleted]
- Ne02ptzero 9y agoI use calcurse[1] for this. It handle pretty much every "calendar" files out there [1] http://calcurse.org/ http://calcurse.org/
- oblio 9y agoI feel that the folks that do this aren't working for big companies. In most big companies you can't really afford to do any email client shenanigans. You probably need to see HTML emails, handle calendar invites, etc.
- simias 9y agoCalendar invites are just attachments, you can handle them in external scripts and programs any way you like. Personally I just display them in plain text next to the email, but if you wanted to interface them with your calendar application I'm sure there are plenty of scripts doing that out there. As for HTML email, what I take from this entire thread is that I either I've been extremely lucky so far or people in general vastly overestimate the importance of it. For one thing, most decent services will send multipart/alternative emails that are suitable for plain text display. For instance Amazon's emails use rich HTML features, but they also have a text/plain alternative that works perfectly in a text client and carries the same informations. And when there's only HTML the vast majority of the time it's still mostly text with some light styling and it works just fine (sometimes better) in text mode. The main problem working in big companies and using mutt as my client is that most of the time those systems have a 2nd class non-compliant IMAP servers and you have to go through oops to reliably receive and send your email. I always managed to get it to work after some tweaking though.
- uiri 9y agoYou're right that most services do send a multipart message with a sane looking plain text version. The biggest issue with that is when the sender of the email doesn't actually check that the content was converted properly. Most notably, hyperlinks in the HTML get converted to the text of the link and the URL in question is no where to be found. Even if most HTML emails send perfectly created plaintext versions (and yes, Amazon is great at this), you'll remember the crappy unreadable HTML-only emails far more than the normal looking multipart ones with proper conversion of the HTML to plaintext. My first job in high school involved formatting and sending out email blasts. Even at that point, I was aware of potential formatting issues and I took care to make sure that the automatically generated plaintext version had all the same content. For that reason, I have no patience for HTML-only emails crafted by grown adults.
- torrent-of-ions 9y agoI started using emacs for email back in my uni days. I used Dovecot to run an IMAP server locally which would get my mail when it could. This made it very quick in emacs because it wouldn't have to wait for any remote server. But, unfortunately, I had to go back to Thunderbird. With the exception of free software mailing lists, people simply do not know how to use email. Bottom quoting is the default. We can thank Microsoft for that one, I think. I can't understand why anyone thought it was a good idea to attach the previous message to the bottom. Most people just accept this as the way email is and never question how unbelievably stupid it is. Then you've got all the HTML shit that people put in there. And the fact that many clients are simply broken and don't write the headers correctly which breaks threading. This is often confounded by broken servers which garble the headers a second time. It's amazing that something as simple as mutt or gnus (emacs) has everything you need: threaded messaging and convenient composition. Inline quoting is surely the only sane way to do quoting. Why would you assume the person you reply to has deleted their own message? My message to you is right there in the same thread in my client. Don't send it back to me. But do make it clear which parts of it you are addressing (inline quoting). You had to laugh when Google reinvented threaded messaging in the 2000s and advertised it as some groundbreaking new thing. So I gave up. I use a client that can deal with the stupid shit that other clients spit out. I also bottom quote now. Why? Because if you do inline quoting, MS Outhouse web client thinks that everything after the beginning of the quotation is a copy of the previous message and folds the whole thing, meaning your recipients get back what looks like an empty message. Really.
- bananaboy 9y agoI agree, it's a losing battle. Such a shame. I have one or two friends who quote inline, and I love getting emails from them. They look so clean and readable. But it's pointless trying to do it with most people because most people don't reply with inline quotes and just top post and it ends up as a godawful mess. So I barely even bother any more myself. I die a little every time.
- u801e 9y agoThese days, I just delete the entire block of text and post my response to thost types of emails :)
- MikeTaylor 9y agoThis is all very nice, but the fact that the article doesn't even _mention_ images or attachments shows how divorced it is from the reality of most people's email experience. I happily used emacs as my mail-reader from 1989 to about 2009 (first RMAIL mode, then VM). The increasing importance of non-text formats made it cumbersome, and I somewhat reluctantly switched to GMail. It's hard to imagine switching back now.
- erikb 9y agoattachments yes, but images? There's literally zero reason to have any images in emails. Use Dropbox/Owncloud/Instagram/etc links if you want to share pictures. That's more handy for other people anyway instead of handling 2 gig of attachments for seeing your email on their smart phone.
- uberchet 9y ago"Literally zero reason?" Seriously? I submit your understanding of how email works for most people in 2017 is outdated. Email with inline images is common, useful, and not going anywhere.
- erikb 9y agoOver the last 10 years I have worked with 4 digits worth of people. Managers, sales people, engineers, family members, locals, Western foreigners, Arab foreigners, Asian foreigners. I can't remember a single communication where direct insertion of images was a desired feature. If at all images were in emails because the email clients interpreted adding attachments in image format as part of the emails content (gmail client for instance). I'd argue that images in emails means that you haven't reached 2017 yet, where there are loads of better options to share images.
- uberchet 9y agoI'd argue, in turn, that your experience, regardless of how many people were involved, is divergent from the way in which email itself is moving in the broader market of users. Images as links to something else, that require an additional step, are an inferior substitute to inline images. Here in 2017, it's possible to build an email that includes tables or screenshots or other rich media that exist as part of the email itself. This is commonly viewed as a benefit. 20 years ago, I, too, was resistant to the idea that email should be something other than plain text, but I was wrong. That ship has saild. Email today is a rich document, and rich documents often include meaningful inline images that should be stored with the document. Again, that YOU don't like this doesn't mean it's not useful or widely used by other people.
- snakeanus 9y agoI switched to mutt after I was unable to view images with emacs (gnus) as it did not bother (or failed) to un-base64 them before either trying to display them in-line nor when saving the image.
- TurboHaskal 9y agoUgh, no thanks. I already use enough arcane tools on a daily basis due to my work. For mundane stuff like reading and sending mail, I'd rather take a break and use tools that even my tech illiterate father could effectively use. It's really detoxicating to become a normie from time to time. Disclaimer: Used to read mail with emacs back in the day. Tried mutt for a while.
- icebraining 9y agoDoing like the "normies" is switching from a decent red wine to piss beer. Not what I would call detoxicating.
- sotojuan 9y agoThis kind of attitude is not helpful. Sometimes even tech people want things that work "good enough" with no configuration or thinking involved. No need to go full normie.
- icebraining 9y agoI'm not trying to be helpful. But I find this worry about having to configure CLI tools to be overstated. Just because they allow you to configure everything doesn't mean you have to. My personal email setup is: "sudo apt install alpine", configure account info, done. You don't even have to memorize the action keys, Alpine shows the available actions for the current screen at the bottom, with helpful labels. It's arguably clearer than Gmail, with its unlabeled icons.
- catdog 9y agoSadly thats not the norm. A lot of those (otherwise great) text tools ship with horrible defaults and suffer from poor discoverability. Sometimes it's both combined and somebody actually contributed such an improvement but nobody bothered to turn it on.
- juanre 9y agoI switched back to mutt 5 months ago, when my startup started to grow fast and I needed a sensible way to deal with lots of email in multiple accounts. I haven't looked back. I still have gmail as a back-end, but I use mbsync to keep local copies of all my accounts, and msmtp to send mail. Some resources I found helpful: - http://stevelosh.com/blog/2012/10/the-homely-mutt/ http://stevelosh.com/blog/2012/10/the-homely-mutt/ (good, but it recommends offlineimap — I tried it and found it to be slow and buggy. mbsync is much better.) - https://github.com/cbracken/mutt https://github.com/cbracken/mutt - https://lukespear.co.uk/mutt-multiple-accounts-mbsync-notmuch-gpg-and-sub-minute-updates https://lukespear.co.uk/mutt-multiple-accounts-mbsync-notmuc...
- pjc50 9y agoI switched to mutt .. about a dozen years ago, from PINE. I still use it with a pine keybindings file, and I still miss the better addressbook support of pine. Mind you, that's on a secondary email account; if I need to handle images or attachments I forward it to gmail.
- HurrdurrHodor 9y ago"fiddling feels a lot more productive than it actually is" Best thing about this article. Unfortunately he didn't derive anything from this wise statement.
- jeremy7600 9y agoThe logical extension is that he only feels more productive after his fiddling and this new setup he came up with, not actually more productive.
- szastupov 9y agoI spent quiet some time setting up mutt or trying to make a real IDE out of vim or Emacs, but in the end it's just cargo cult and waste of time. There a modern email clients, IDEs, polished operating systems, etc., all built in this century. There is absolutely no need in wasting time scoring nerd points.
- nazri1 9y agoThe thing is an IDE can only do so much - depending solely on the IDE mean your ability to change/refactor the code is limited to exactly what the IDE gives you. If you need to do something that the IDE can't do for you then you're stuck. This is when being competent in Vim/Emacs/Shell is an advantage.
- pleasecalllater 9y agoCould you tell me what was the last problem you had that an IDE couldn't do, and vim/emacs could?
- dcousens 9y agoEasy. Vim doesn't get in my way.
- to3m 9y agoThis happens to me in these main day-to-day cases, comparing Emacs to Visual Studio and Xcode: - VS/Xcode don't support keyboard macros - VS/Xcode don't support piping selection through a shell command (I had to write an addin to do it: https://github.com/tom-seddon/VSScripts https://github.com/tom-seddon/VSScripts) More generally, your window layout options in both are a lot more limited, and, worst of all, the extensibility experience in both is poor. Extensibility is basically non-existent in Xcode, and while it looks comprehensive in VS the APIs are rather unwieldy and underdocumented and the iteration time for testing is very bad. Good extensibility support opens up many possibilities! Even with what VS gives you, you can get good stuff like Comment Reflower, or (if I say so myself) my VSScripts addin. But Emacs just does that side of things a lot better. For example, multiple-cursors.el, which is an Emacs addon, is a huge improvement over the box selection available in VS/Xcode. Adding reasonable support for a language to Emacs is easy to do in a couple of hours, possibly working from one of the many examples, and you can continue refining it from there. In VS by contrast options are the two extremes of "pretend it's one of the other languages VS supports already" (little better than Notepad with syntax highlighting) or "invest a week (plus) in writing an entire new language infrastructure, with no examples to work from" (I'm sure the results are good if you put the effort in though). For most under-supported languages you'll meet, Emacs is much closer to the effort/reward sweet spot. (Xcode? I don't think you can make it support new languages at all.) It's been a while since I used WebStorm (Javascript-oriented IDE) but my response to that was similar.
- wheresvic1 9y agoI switched to using mutt with Gmail and documented my story here: https://smalldata.tech/blog/2016/09/10/gmail-with-mutt https://smalldata.tech/blog/2016/09/10/gmail-with-mutt
- roylez 9y agoI used mutt for 10 years and then moved back to web mail. With inbox zero and gmail keyboard shortcuts, processing email is so easy that mutt is almost an over-kill.
- k2enemy 9y agoIf you like mutt, it is worth checking out neomutt (https://www.neomutt.org https://www.neomutt.org). It is mutt with some of the popular patches already compiled in.
- angry_octet 9y agoI love mutt and tin (Network News, google it youngsters), and I persisted in sending plain text email for many years, even signed it with pgp. I snickered many times over the years as people got hacked by their own email clients. I sent back 'Meeting Invite' emails to people who couldn't draft a proper meeting request using words. But ultimately when gmail came along I realised there was a better way. It is only a problem that we give up our privacy and agency by using Google's software and computers. And nobody was checking my PGP signatures anyway. If you feel like you want to get the benefits of a nice email GUI, in a sandboxed browser, but also want privacy and some control, check out Mailpile: https://www.mailpile.is/ https://www.mailpile.is/ It isn't finished, but it is promising.
- discreditable 9y agoFormat=flowed is great. I just wish more clients supported it—for sending and receiving. I've felt lately that I would even consider using the Windows Mail app if it supported plaintext and f=f.
- Karunamon 9y agoOne of Mutt's best uses cases in my opinion is for rapid processing of lots of email. Every now and then I'll go on a spree to zero out my inbox, and I find doing this with mutt's search/tag/move/delete workflow is a lot faster than messing around with my mail provider's application (Fastmail's, which is awesome, and Gmail's, which is less so) or any other client I'm aware of.
- pyre 9y agoWhen I was using mutt, one of the biggest things that I found missing was a way to apply a filter to the entire email without creating some sort of SMTP gateway. I wanted the ability to compose my emails in Markdown, and run the text/plain version through a filter to generate a text/html version. At the time (though I'm sure this hasn't changed), you could only run various parts of the email (e.g. only the text/plain part) through filters, but not the whole email.
- fusiongyro 9y agoI have been using mu4e for three years or so and not had any bugs or glitches to speak of. I haven't experienced any stability issues with package upgrades either.
- BeetleB 9y agoFunny. Several years ago I went in the opposite direction: From mutt to notmuch + emacs. I used mutt for about a decade. I got sick of it being a bit too constraining (e.g. could not auto-Fcc to multiple folders based on To fields). And frankly, for the last 5 years of my usage, there was no real development. notmuch is great for me. Using tags and Python, filtering incoming mail is a lot easier than with procmail's arcane syntax. I've recently set up a whitelist email system to get rid of unwanted emails. If a "new" person emails me, they get sent to a web site to confirm their identity and their email gets put into a quarantine folder (not inbox). If they go to the web site and confirm, then my mail system moves their email from quarantine to the inbox and their email address is whitelisted. No more junk mail. The only mails that get to my inbox are from whitelisted accounts. Notmuch with tags made this a trivial thing to code.
- chilicuil 9y agoI've been using mutt + vim + gpg + multiple gmail account for the last ~5 years and it's proven to be fast and easy to use, the only issue I have is that it disconnect from time to time from the imap servers. Follow my configuration: https://github.com/javier-lopez/dotfiles/blob/master/.mutt/muttrc https://github.com/javier-lopez/dotfiles/blob/master/.mutt/m...
- daphreak 9y agoI use alot (to view and send mail) + notmuch (to index) + mbsync/isync (to retrieve mail). It was painful to configure, mostly due to needing scripts for syncing up tags with IMAP folders. So far its been worth it. Instantaneous search of all my email ever. With a properly configured mailcap file HTML emails are rendered ok (still have problems with links) and attachments open in external programs as well. Since `alot` is written in Python and can be extended with Python hooks for almost any event it has been easier for me to customize than emacs.
- jakeogh 9y agoSame here. I ended up writing a wrapper for alot (and a custom MDA): https://github.com/jakeogh/gpgmda https://github.com/jakeogh/gpgmda (just split the client stuff into gpgmda-client, see the client side deps list)
- mcguire 9y agoGoofy email question number 1: Is there a good alternative to SpamAssassin? Something that doesn't use up quite so much memory?
- xixor2 9y agoI've found every email client, mutt included, to be exceedingly difficult when trying to view your replies in the context of email thread. Gmail is the only one that does this seamlessly. If you get a ton of email, but never reply, or fire off so many replies that you never look back on them, maybe mutt works for you. For me the value of email and email clients is viewing the conversation as a thread, which importantly, must include my replies. You can find a few blog posts about configuring Mutt this way, it's complicated, convoluted, and always has side effects, like bcc'ing yourself. Outlook isn't all that much better in this regard as well, it does show your replies, but seems to loose them, or omit many from the thread.
- zafiro17 9y agoI'm late to this conversation: happy to see such a robust discussion on mutt, but sad to see so many hardcore techies preferring gmail instead. To each their own, of course, but mutt is one of the things I love most about *nix platforms. I've got a chromebox that requires I use webmail (the Fastmail web client is really, good actually) but elsewhere, mutt is the only way I can handle email. To the comment about mutt's poor addressbook support, you can use it with a CLI/CUI app called addressbook that's quite good, and you can interface with with other addressbook scripts to access carddav servers as well. I'm intrigued by the links to carddav support. For me, the HTML email and calendar invite issues are trivial, and grossly outweighed by the efficiency I get with mutt by being able to select and act on huge amounts of mail at once. The threaded view is essential. In a pinch, I use sylpheed/claws or even Thunderbird. But after using mutt at home, going to work where I'm forced to use Outlook makes me want to claw my eyes out: in my opinion, Outlook has gotten worse every year, and is barely useable at this point. Meanwhile in mutt, I can do things like "delete every message between dates X and Y and sent by person Z." It makes dealing with huge amounts of mail effortless. I also tire of editors, and cycle repeatedly through emacs, vim, slrn, and joe/jstar/jmacs - I love the flexibility. I combine it with Fastmail/IMAP, and wouldn't dream of going anywhere else. Gmail isn't for me: if it works for a lot of you, congrats - I'm past the point where I care about converting others to what I consider "the one true way." Just wanted to add to the conversation my opinion that the day they I can't use mutt for email is the day I stop emailing, period.