Skip to content

Simple tool that allows you to view *.msg files from "Old MS Outlook". "New MS Outlook" requires an "Office 365" subscription to open .msg-Files, but hasn't implemented any way to confirm an active subscription, yet (it seems).

Notifications You must be signed in to change notification settings

Rasalas/msg-reader

Repository files navigation

msgReader

alt text

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?

Features

  • 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

Project Structure

The project is organized into several modules:

  • MessageHandler.js - Manages message state and storage
  • UIManager.js - Handles UI updates and rendering
  • FileHandler.js - Manages file operations and drag & drop
  • utils.js - Contains MSG file processing and utility functions
  • main.js - Initializes and orchestrates the application

HYPER Quick Start (GitHub Pages)

  1. Open rasalas.github.io/msg-reader/
  2. Drag your file from your file system and drop it in the drop area.
  3. Done.

You should now see your email contents

Quick Start (locally)

  1. Clone the repository
git clone https://github.com/Rasalas/msg-reader.git
cd msg-reader
  1. Install the dependencies
npm install
  1. Run the application
npm start

A browser window should open with the application running.

Development

  1. Clone the repository
git clone https://github.com/Rasalas/msg-reader.git
cd msg-reader
  1. Install the dependencies
npm install 
  1. 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.

Build Process

The application uses browserify to bundle the JavaScript modules and tailwindcss for styling.

Build Commands

  • npm run build - Builds both JavaScript and CSS
  • npm run build:js - Bundles JavaScript modules
  • npm run build:css - Compiles Tailwind CSS
  • npm run watch - Watches for changes and rebuilds
  • npm run dev - Runs development server with live reload
  • npm run deploy - Deploys to GitHub Pages

Other links

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.

"Receipts"

account.microsoft.com account page showing an active subsciption. Next payment 26th March 2025 for 69€ 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 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 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 An error message stating that the msg file can't be opened, because it requires an active subscription

Completed Features

  • 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

Future Improvements (maybe)

  • 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

About

Simple tool that allows you to view *.msg files from "Old MS Outlook". "New MS Outlook" requires an "Office 365" subscription to open .msg-Files, but hasn't implemented any way to confirm an active subscription, yet (it seems).

Topics

Resources

Stars

Watchers

Forks