I am writing a Node application that, among other things, needs to receive email and process it so that it can be displayed on a web page (as happens in web mail, list archives, etc.). I have a reception area covered by Haraka ( https://github.com/baudehlo/Haraka ). From there, it is easy to store received messages in Mongo, and as long as they are plain text, I can display them.
The parts that I am missing handle the pretty involved varieties of ways email content can appear, including alternatives, HTML, attachments, inline images, and more. This is a pretty cool feature that needs to be built, and I cannot find the JS library that will do this for me. Given the number of libraries and the speed of adding new ones, maybe I just skipped this, so welcome pointers!
And if this happens, if I had to transfer the existing library for this from another language, which one would you recommend, I look?
Thanks!
Robin berjon
source share