0

I have many email archived in eml format. The problem is that I can't view them without installing an email client and importing eml files, which is tedious and not what i want.

Ideally, I would like to find something like a pdf viewer that opens when you click on the file.

I currently use munpack -t <file.eml> that extracts attachments and text in separate files. It kinda works but it's tedious.

As a reference, when I am on a Windows desktop, I use quicklook which opens the eml file like any other text or pdf file.

Any idea ?

4 Answers 4

2

Thunderbird opens .eml files, just like that, no need for importing them.

5
  • Fresh Thunderbird install opens an empty composer windows Write:(no subject) and does not show email content. It does not display eml file content. Commented Oct 19, 2022 at 12:29
  • 1
    it does for me, something's strange with your setup, maybe? Does it work if you open Thunderbird, go "File"->"Open"->"Saved Message…"? Commented Oct 19, 2022 at 12:30
  • Turns out it is my file explorer Caja that is not able to launch it properly. Shame since it is quite a good window manager for my other uses. Commented Oct 19, 2022 at 12:33
  • probably not an issue with the file explorer, just with how the file associations are set Commented Oct 19, 2022 at 12:52
  • Both Thunderbird and KMail open EML files. Thunderbird renders it better, but it always opens two windows - a viewer and the main one. In this use-case the main window is unnecessary and distracting. KMail only opens a viewer window when it is launched to view an EML file. This is a cleaner solution, therefore I opted for using KMail. Commented Aug 17 at 21:11
2

So does KMail from KDE.

KDE file manager used to generate thumbnails for EML files in the past - not sure if this feature is still there.

1
  • I'm kind of in the same boat as GnuSam above except with KMail. When I do a kmail x.eml, it opens a new compose window for me ... Commented Jul 20, 2023 at 13:51
1

mhonarc (a Perl program) can convert EML files to HTML and pipe the output to a web browser; examples:

mhonarc -single email.eml | w3m -T text/html mhonarc -single email.eml | lynx -stdin 
0

I'd been using Slimjet browser, and when clicking on the eml link it opens it on a new window. No need to perform so many installations.

PS: Not tested in other browsers.

By the way, I'm using Xubuntu 18.04, so I asume it works on more recent versions of the OS.

1
  • Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center. Commented Jul 18 at 7:08

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.