{% extends "base.html" %} {% block title %}Sent Emails{% endblock %} {% block content %}

Sent Emails

Every conversation the system has sent, exactly as recipients see it.

{% if thread %}
{% for t in threads %} {{ t[0].subject }} {{ workflows.get(t[0].workflow, {}).get('name', t[0].workflow) }} · {{ t|length }} message{{ 's' if t|length != 1 }} · {{ h.time_ago(t[-1].sent_at) }} {% endfor %}
{% for m in thread %}
{{ names.get(m.from_addr, m.from_addr) }} → {{ names.get(m.to_addrs[0], m.to_addrs[0]) }}{% if m.cc_addrs %} cc {{ m.cc_addrs|join(', ') }}{% endif %} {% if m.is_human %}Written by a person{% endif %} {{ h.datetime.fromisoformat(m.sent_at).astimezone(tz).strftime('%a %d %b %Y, %H:%M') }}
{% if m.is_human and m.attachments %}
{{ icon("clip", 14) }} {% for a in m.attachments %}{% set link = file_link(a.path) %}{% if link %}{{ a.filename }}{% else %}{{ a.filename }}{% endif %}{{ ', ' if not loop.last }}{% endfor %}
{% endif %}
{% endfor %}
{% else %}
No emails yet. Use Send now on an automation to send the first one.
{% endif %} {% endblock %}