code: def inline_css(html_message, encoding='unicode'):
      
  
      document = etree.HTML(html_message)
      converter = Conversion()
      converter.perform(document, html_message, '', encoding=encoding)
      return converter.convertedHTML
docs: Inlines all CSS in an HTML string
  
      Given an HTML document with CSS declared in the HEAD, inlines it into the
      applicable elements. Used primarily in the preparation of styled emails.
  
      Arguments:
          html_message -- a string of HTML, including CSS