{% load gravatar %} {% load anonymizer %} {% for sent_draft in item.sent_drafts %} {% include "partials/sent_draft.html" with item=sent_draft %} {% endfor %}
{% if item.mail_message.is_from_me %} {% gravatar_img_for_me item.mail_message.from_email 32 %} {% else %} {% gravatar_img_for_customer item.mail_message.from_email 32 %} {% endif %}
{% include "partials/contact_as_single_addr.html" with item=item.mail_message.from_contact %} {% if item.mail_message.type > 0 %} [{{ item.mail_message.get_type_display }}] {% endif %}
{{ item.mail_message.date|date:"Y/m/d H:i:s +0000" }}
{% if item.mail_message.is_ready %} {% if item.mail_message.is_richtext %}
{{ item.mail_message.message_text|striptags|truncatewords:50|safe }}
{% else %}
{{ item.mail_message.message_text|escape|truncatewords:50 }}
{% endif %} {% else %}
{% endif %}
{% include "partials/contact_as_single_addr.html" with item=item.mail_message.from_contact %} {% if item.mail_message.type > 0 %} [{{ item.mail_message.get_type_display }}] {% endif %}
{{ item.mail_message.date|date:"Y/m/d H:i:s +0000" }}
{% include "partials/to_contacts.html" with to_contacts=item.mail_message.to_contacts %} {% include "partials/cc_contacts.html" with cc_contacts=item.mail_message.cc_contacts %}
{% include "partials/message_body.html" with item=item %}
{% if item.mail_message.has_real_attachments %}
{% endif %}

header

PK: {{ item.mail_message.pk }}
UID: {{ item.mail_message.uid }}
Message-ID: {{ item.mail_message.message_id }}
In-Reply-To: {{ item.mail_message.in_reply_to }}
References: {{ item.mail_message.references }}
{% if item.has_draft %} {% include "partials/draft.html" with item=item %} {% endif %}