enough_mail_html library

Generate HTML from email mime messages. transform HTML code into plain text.

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
Transforms MIME messages
TextTransformer
Transforms plain text messages.
TransformConfiguration
Contains the configuration for all transformations.

Extensions

HtmlTransform on MimeMessage
Extends the MimeMessage with the transformToHtml method.