code: def message_from_string(s, *args, **kws):
      
      from future.backports.email.parser import Parser
      return Parser(*args, **kws).parsestr(s)
docs: Parse a string into a Message object model.
  
      Optional _class and strict are passed to the Parser constructor.