{% extends "ui/templates/base/layout.html" %} {% block content %}
← Back to inbox

{{ row.subject or '(No subject)' }}

From {{ row.sender_name or row.sender_email or '-' }} <{{ row.sender_email or '-' }}>

{{ row.status }} {{ row.mapping_status or 'UNMAPPED' }}
Received: {{ row.received_at_utc or '-' }}
Mailbox: {{ row.mailbox_email }}
To: {{ row.recipient_emails or '-' }}
CC: {{ row.cc_emails or '-' }}

Message

{% if row.body_text %}
{{ row.body_text }}
{% elif row.body_html %}
HTML-only message stored. Full HTML body is available in database.
{% else %}
No readable body found.
{% endif %}

Matched Sender

Client ID: {{ row.matched_client_id or '-' }}
Consultant ID: {{ row.matched_consultant_id or '-' }}
User ID: {{ row.matched_user_id or '-' }}

Work Mapping

Tracking Code: {{ row.tracking_code or '-' }}
Related Module: {{ row.related_module or '-' }}
Related ID: {{ row.related_id or '-' }}
Engagement ID: {{ row.matched_engagement_id or '-' }}
Task ID: {{ row.matched_task_id or '-' }}
Invoice ID: {{ row.matched_invoice_id or '-' }}
{% if row.mapping_notes %}
{{ row.mapping_notes }}
{% endif %}

Manual Mapping

Select only one. Task mapping also adds the email to the task communication timeline.

Attachments

{% for item in attachments %}
{{ item.filename or 'attachment' }}
{{ item.content_type or '-' }} • {{ item.size_bytes }} bytes
{{ item.storage_path or '' }}
{% else %}

No attachments.

{% endfor %}
{% endblock %}