{% extends "layout.html" %} {% block title %}Tasks - MailCadence Admin{% endblock %} {% block content %}

Mail Tasks

Configure automated task definitions, recipient lists, and Jinja2 templates.

{% if message %}
{{ message }}
{% endif %} {% if error %}
{{ error }}
{% endif %}
Create / Update Task

Configured Tasks

{% if tasks %}
{% for task in tasks %} {% endfor %}
ID Schedule Sender Subject Template Recipients Actions
{{ task.id }} {% if task.priority == 'high' %} high {% elif task.priority == 'low' %} low {% else %} normal {% endif %}
{{ task.schedule_ref }} {{ task.sender }} {{ task.subject }} {{ task.body_template.template_path }} ({{ task.body_template.format }})
To: {{ task.recipients.to | join(', ') }}
{% if task.recipients.cc %}
Cc: {{ task.recipients.cc | join(', ') }}
{% endif %} {% if task.recipients.bcc %}
Bcc: {{ task.recipients.bcc | join(', ') }}
{% endif %}
Preview
{% else %}

No mail tasks found.

Create a new task above to start dispatching emails.

{% endif %}
{% endblock %}