[BUG] Direct Reply: content of HTML formatted emails are not displayed
Description:
A HTML formatted Direct Reply email is not displayed in Rocket.Chat. The message is empty; the HTML content is eaten up. This is a kind of bizarre, because the offline email itself is created in HTML format and a lot of users create emails in HTML format by default. If those emails are eaten up, the feature is almost useless.
Same problem with attachments. Attachments are not support, as documented on
https://rocket.chat/docs/administrator-guides/email/direct-reply/
"Only text messages will be supported, attachments are not supported yet.". But to my mind this should not end up, in discarding the whole content of an email.
Currently - to my mind - the Direct Reply feature is completely buggy and a high risk in loosing messages as one can't handle in what format or way users reply to messages. I highly recommend to mark it as experimental.
Server Setup Information:
- Version of Rocket.Chat Server: 0.61.0, 0.69.2
- Operating System: Linux Ubuntu 16.04 LTS
- Deployment Method(snap/docker/tar/etc): self build bundle
- Number of Running Instances: 1
- DB Replicaset Oplog: yes
- Node Version: 8.9.4
Steps to Reproduce:
Direct Replymust be configured inAdministration- generate an "You have been direct messaged by" email by sending a direct message to an offline user
- the offline user answers with a HTML formatted email, e.g. a single line just marked bold.
- the content of that email is not displayed in Rocket.Chat, empty message content.
Expected behavior:
message must be displayed
Actual behavior:
message content is eaten up, message is empty.

Actually, only plain text emails are being parsed till now.. Its dependent on this library https://github.com/mko/emailreplyparser . Will look for better alternatives.
Is it any way to customize the content of the email removing the message content?
This is still an issue in 0.69.2. Umlauts in plain/text emails are broken; text/html emails are fully broken.

Maybe this will help for accented characters https://github.com/mscdex/node-imap/issues/319
Still valid this bug! Just using RC 3.0.3 with Client 2.17.7 and direct reply via plain mail has issues with ö ä ü and so on.
