My collegue sends me a lot of emails in the *.msg format. It's the format that "Old Microsoft Outlook" uses if you export an email or attach it to another email.
I couldn't even open these files on my Windows 11 machine, because of an error that stated that I need an active Microsoft 365 subscription - which is confusing (or very wrong), because I have one and it's active in all other MS Office apps.
Since my collegue doesn't stop sending me these <3 and my Feedback to Microsoft a few months ago didn't do anything 💤, I decided to take matters into my own hands.
I wrote a small tool that can read these files and show them to me (about) how they are shown in email clients - with HTML and inline images and all.
I am currently writing with the Microsoft Support to get this issue fixed, but until then, I have this tool (and everyone who needs to open *.msg files and can't/wont afford a Microsoft 365 Subscription to open a fricking .msg-File).
... also - WHY would you put a paywall in front of a file format that you created?
- Open and read *.msg and *.eml files directly in your browser
- View HTML content and inline images
- Pin important messages
- Multiple file support with message list
- Sort messages by date
- Drag & drop support
- No server needed - everything runs in your browser
The project is organized into several modules:
MessageHandler.js
- Manages message state and storageUIManager.js
- Handles UI updates and renderingFileHandler.js
- Manages file operations and drag & droputils.js
- Contains MSG file processing and utility functionsmain.js
- Initializes and orchestrates the application
- Open rasalas.github.io/msg-reader/
- Drag your file from your file system and drop it in the drop area.
- Done.
You should now see your email contents
- Clone the repository
git clone https://github.com/Rasalas/msg-reader.git
cd msg-reader
- Install the dependencies
npm install
- Run the application
npm start
A browser window should open with the application running.
- Clone the repository
git clone https://github.com/Rasalas/msg-reader.git
cd msg-reader
- Install the dependencies
npm install
- Run the application in development mode
npm run dev
A browser window should open with the application running. The application will automatically reload when changes are made to the source code.
The application uses browserify to bundle the JavaScript modules and tailwindcss for styling.
npm run build
- Builds both JavaScript and CSSnpm run build:js
- Bundles JavaScript modulesnpm run build:css
- Compiles Tailwind CSSnpm run watch
- Watches for changes and rebuildsnpm run dev
- Runs development server with live reloadnpm run deploy
- Deploys to GitHub Pages
SourceForge | MsgViewer
Java app. Works, basically my favourite, but doesn't show inline images
encryptomatic.com | Free Online .msg Viewer
Kinda sus. I don't really trust them, because they sell the ~same thing as a product. You also can't see inline images and you get an ad in the end of the email instad of in the page itself.
GitHub | datenteiler/ReadMsgFile
Seems to be ok, but it only shows the text version of the email. No inline images or HTML because it uses a command line interface.
MS Store | MSG Viewer
Costst money and doesn't look promising.
account.microsoft.com account page showing an active subsciption. Next payment 26th March 2025 for 69€
a table showing payments of the last three years. Last payment of 69€ on 26th March 2024
Windows 11 Account page showing an active Microsoft 365 Single subscription
An error message stating that the msg file can't be opened, because it requires an active subscription
- Allow to upload multiple files at once
- Drop area fills the whole screen
- Show a list of all imported emails on the side
- Sort by date
- Show a preview of the currently selected email
- Separate subject, recipients & sender, body, attachments
- Pin important messages
- Allow to download the email as a .eml file
- Add search functionality
- Add filters
- pinned messages
- attachments
- sender
- subject
- Add message categories/tags
- Add keyboard shortcuts
- Add dark mode support