{% extends "base.html" %} {% block title %}{{ message.subject }} — Agent Mail{% endblock %} {% block breadcrumbs %} {% endblock %} {% block header_actions %}
{% endblock %} {% block content %}

{{ message.subject }}

{% if message.importance == 'urgent' %} Urgent {% elif message.importance == 'high' %} High Priority {% elif message.importance == 'low' %} Low Priority {% endif %}
{{ message.sender }}
{{ message.created }}
{% if message.thread_id %} View Thread #{{ message.thread_id }} {% endif %} {% if commit_sha %} {% endif %}
{% if recipients %}

Recipients

{% for r in recipients %} {% if r.kind == 'to' %} {% elif r.kind == 'cc' %} {% elif r.kind == 'bcc' %} {% endif %} {{ r.kind }} {{ r.name }} {% endfor %}
{% endif %}
{% if message.body_html %}
{{ message.body_html | safe }}
{% else %}
{% endif %}
{% if thread_items and thread_items|length > 1 %}

Part of a Conversation Thread

This message is part of a thread with {{ thread_items|length }} messages

View Full Thread
Other messages in this thread:
{% for t in thread_items[:5] %} {% if t.id != message.id %} {{ t.from or 'Unknown' }} {% if t.subject %} {{ t.subject[:40] }}{% if t.subject|length > 40 %}...{% endif %} {% else %} No subject {% endif %} {% endif %} {% endfor %} {% if thread_items|length > 5 %} +{{ thread_items|length - 5 }} more {% endif %}
{% endif %}
{% endblock %}