import jinja2


def render_email(autelion):
    """Return HTML representation of Autelion status."""
    with open('templates/email.html.j2', encoding='utf-8') as file_object:
        template = jinja2.Template(file_object.read())
        return template.render({
            'updated_at': autelion.updated_at,
            **autelion.status
        })