News for hackers. Stuff that matters.
Re:Meli – email client in the terminal, in the spirit of mutt by kleiba on Sunday September 18, 2022 @11:40AM (#32888446)
The problem is the HTML Emails I annoyingly get sent by non-tech people.
Re:Meli – email client in the terminal, in the spirit of mutt by zhxshen on Sunday September 18, 2022 @11:47AM (#32888522)
I use aerc, which is similar to this, but written in Go. Most of these TUI mail clients have a configurable filter option for different MIME types. I've found that this program does a great job as an HTML to text filter:

https://github.com/jaytaylor/html2text

I think the classic approach is to use something like lynx or w3m with networking disabled, but I wasn't impressed with the output.

Re:Meli – email client in the terminal, in the spirit of mutt by yjftsjthsd-h on Sunday September 18, 2022 @11:47AM (#32888515)
With mutt, you can tell it to pass HTML through an external program (like a text mode browser) to render to plain text. Not immediately obvious if meli supports that, but it is at least tractable.
Re:Meli – email client in the terminal, in the spirit of mutt by aduitsis on Sunday September 18, 2022 @02:20PM (#32889966)
Elinks for rendering html mail and antiword for rendering word documents inside the mutt message view.
Re:Meli – email client in the terminal, in the spirit of mutt by epilys on Monday September 19, 2022 @08:45AM (#32897592)
meli does pass html messages to w3m by default, but you can change it to anything else with the `html_filter` setting.
Re:Meli – email client in the terminal, in the spirit of mutt by layer8 on Sunday September 18, 2022 @04:04PM (#32890981)
In Mutt I auto-view those with w3m. The main limitation is that you can’t reply while preserving the HTML (at least I know of no TUI HTML mail editor).