{% extends "base.html" %} {% block title %}Emails{% endblock %} {% block content %} {% if not email_config_valid %}
Konfiguration erforderlich
Setze IMAP_SERVER, SMTP_SERVER, EMAIL_ADDRESS, EMAIL_PASSWORD in der .env-Datei.
{% else %}
Verbunden · {{ current_email }}
{% endif %}
Neue Email
Posteingang
{{ emails|length }} Emails
{% if email_config_valid and emails %} {% if emails[0].error is defined and emails[0].error %}
{{ emails[0].error }}
{% else %}
    {% for mail in emails %}
  • {{ mail.subject }} {{ mail.date[:10] }}
    {{ mail.from }}
    {{ mail.preview }}
  • {% endfor %}
{% endif %} {% elif not email_config_valid %}

Email-Konfiguration erforderlich

{% else %}

Keine Emails vorhanden

{% endif %}
📋 Email Journal / Log
Vollständiges Log

Das vollständige Email-Journal zeigt alle verarbeiteten Emails mit Details zu Status, Agent-Zuweisungen und Zeitstempeln.

{% endblock %} {% block scripts %} {% endblock %}