How do I insert HTML into a field in a node?

I am using langchain, Python, and the Node4JGraph to import emails as part of a larger import and people. While I can use BeautifulSoup to just extract the text, I need to retain the HTML in order to present these emails on screen at a later date. I have attempted to use back ticks (`) around the HTML but that fails.

Is there some way to insert HTML into a field?