{% extends "base.html" %} {% block content %}

TXproducts Mail Merge

Conference follow-ups — check who gets a message, pick a template, generate or send.

{% if error %}
{{ error }}
{% endif %}

Contacts ({{ contacts|length }} total)

Refresh from Excel
{% set ns = namespace(found=false) %} {% for c in contacts %} {% set is_preselected = preselect_email and c.email|lower == preselect_email %} {% if is_preselected %}{% set ns.found = true %}{% endif %}
{{ c.first }} {{ c.last }} {% if c.company %}— {{ c.company }}{% endif %}
{% else %}

No contacts in the sheet yet.

{% endfor %}
{% if preselect_email and not ns.found %}

No contact with email {{ preselect_email }} found in the sheet yet — add them first.

{% endif %}

Selected (0)

No one selected yet.

Message template

Attachments

{% for a in attachments %} {% endfor %}

From address

{% endblock %}