

def render_email(self, email_path):
    (template, placeholders, _) = reader_read(email_path)
    args = _unplaceholder(placeholders)
    html = HtmlRenderer(template, self.settings, '').render(placeholders)
    return (html, args.get('subject'))

dataset/ETHPy150Open KeepSafe/ks-email-parser/email_parser/gui/gui.py InlineFormRenderer.render_email/original