I need to be able to preview EML file in a web application built on Angular/.Net core api. I was able to find a service here by microsoft that previews Word, Excel, or PowerPoint documents only. I can embed this page within the web app and preview these file types. However this service does not support EML files.
There is another service by encryptomatic that previews EML file online. But they do not have something that can be embedded within the application.
Google docs viewer is able to preview images, text and pdf but it also doesn't support previewing EML files.
I need a feature similar to how outlook web app previews EML file.
I have found a few npm packages like eml-format that can parse an EML file. I also know that Aspose provides EML parsers. However I am a little hesitant to go down the route of building my own EML viewer as I need to handle embedded images, multi-part messages, attachments and god knows what!
Any suggestions are welcome.