Create a new email {% if email_results and not email_permission == 0 %} {% for row in email_results %} {% if email_permission > 1 %} {% else %} {% endif %} {% endfor %}
Subject Date Sent By
{{ row.email_subject }}{{ row.email_subject }}{{ row.date_created }} {{ row.change_user }}
{% else %}

There is no email history

{% endif %}