How can I convert .msg files (Outlook email message) into .eml?

I have just started using Ubuntu & Thunderbird.

I have saved my Outlook emails in my hard disk and they have an .msg extension. Now when I try to open them in Thunderbird it doesn't open them because Thunderbird used .eml extension.

Please advise how I can convert my old emails from Outlook into Thunderbird format.


Install the following modules:

sudo apt-get install libemail-outlook-message-perl libemail-localdelivery-perl

When installed, download the .pl file named msgconvert.pl, then run:

./msgconvert.pl --mbox [desiredFilename].eml [currentFileName].msg 

Now you can open your .eml file in thunderbird.

Reference:


  • Kosala's - Blog: Convert Outlook .msg to Thunderbird .eml
  • libemail-outlook-message-perl
  • libemail-localdelivery-perl
  • Virustotal report for msgconvert.pl

This is a online tool to convert mail files into different formats, eml included: Online Mail Converter