Mail on Linux

To extract an eml file, create an empty folder and run:

munpack -t -f email-file.eml

To extract an msg file, create an empty folder and run:

msgconvert *.msg

Note

This doesn’t seem as simple and reliable as the eml extract…