{% block subject %} Test email with data subject {% endblock %} {% block body %} Test email body. Data: {{ data }}. {% endblock %}