{% extends "base.html" %} {% from "components/ui.html" import action, breadcrumb, card, credentials, csrf_field, danger_card, fact, facts with context %} {% from "components/connection.html" import connection_fields %} {% block title %}{{ account.email }} ยท {{ APP_NAME }}{% endblock %} {% block heading %}{{ account.email }}{% endblock %} {% block subheading %}{{ breadcrumb([("Accounts", "/ui/accounts"), (account.email, None)]) }}{% endblock %} {% block actions %} {% if can_audit %}Sends{% endif %} {% if can_verify %}{{ action("/ui/accounts/" ~ account.id ~ "/verify", "Verify", cls="") }}{% endif %} {% if can_read %}Mail{% endif %} {% endblock %} {% block content %} {% set secret_name = "API token" if account.settings.get("auth") == "token" else "password" %} {% if account.status.value == "needs_reauth" %}