How to convert email in HTML to text (and correctly wraps reply emails)?

0

I wonder if there a utility which can convert email in HTML to text. The utilities like html2text are fine but they do not handle well wrapping of reply emails (i.e., emails with "> ").

For example, the line like this:

> Email address internationalization provides for a much larger range of
characters than many current validation algorithms allow, such as all Unicode

Should be wrapped like this:

> Email address internationalization 
> provides for a much larger range of
> characters than many current validation 
> algorithms allow, 

user2196351

Posted 2017-08-30T18:38:35.347

Reputation: 101

1Emails from what exactly? An exported msg file from Outlook or what? Narrow it down a bit. – Pimp Juice IT – 2017-08-31T04:29:14.450

That wrapping would have to be defined in some argument as a maximum line length. – music2myear – 2017-09-01T17:23:08.997

No answers