enough_mail_html library

Generate HTML from email mime messages and can transform HTML code into a plain text message.

If desired you can control and extend all transformations.

Classes

DomTransformer
Transforms the HTML DOM.
HtmlToPlainTextConverter
Converts HTML text into a plain text message.
MimeMessageTransformer
TextTransformer
Transforms plain text messages.
TransformConfiguration
Contains the configuration for all transformations.

Extensions

HtmlTransform on MimeMessage
Extends the MimeMessage with the transformToHtml method.