def render_html(template_name, options, certificates):
    """
    Renders the html for our email notification.

    :param template_name:
    :param options:
    :param certificates:
    :return:
    """
    message = {"options": options, "certificates": certificates}
    template = env.get_template(f"{template_name}.html")
    return template.render(
        dict(message=message, hostname=current_app.config.get("LEMUR_HOSTNAME"))
    )

    Renders the html for our email notification.

    :param template_name:
    :param options:
    :param certificates:
    :return:
    
lemur/plugins/lemur_email/plugin.py