{% extends "base.html" %} {% set subject = messages[-1].subject if messages else "Email" %} {% block title %}{{ subject }} · {{ assistant }}{% endblock %} {% block main_class %}form{% endblock %} {% block content %}
Email · {{ account.email }}

{{ subject }}

← Back {% if can_mark_read and messages | selectattr("unread") | list %}
{% endif %} Open in Gmail {% if blocked_domains %} {# Remembered for the sender's domain: its next emails show their images too. #}
{% for domain in blocked_domains %}{% endfor %}
{% elif not images and messages | selectattr("html") | rejectattr("images") | list %} Show images {% endif %}
{% if allowed_domains and not images %}
{% for domain in allowed_domains %}{% endfor %} Images from {{ allowed_domains | join(", ") }} are shown.
{% endif %} {% if marked_read %}
✓ DONEMarked as read.
{% endif %} {% if error %}{% endif %} {% if not can_mark_read %}

To mark emails as read from myOrb, connect this Google account again in Integrations and allow it.

{% endif %} {% for message in messages %} {# The newest message is open; earlier ones of the conversation are folded, as in Gmail. #}
{{ message.sender }}{% if message.address and message.address != message.sender %} <{{ message.address }}>{% endif %} To {{ message.to }}{% if message.cc %} · Cc {{ message.cc }}{% endif %} {% if message.html %} {# No scripts; same origin only so the page can size the frame to its content. #} {% else %}
{{ message.text }}
{% endif %} {% if message.attachments %} {% endif %}
{% endfor %} {% endblock %}