{#- SPDX-License-Identifier: Apache-2.0 -#} {#- The home page. Version, paths and a status flag only: no mail content. -#} {% extends "_base.html" %} {% block title %}Oaken Mail{% endblock %} {% block header %}
{% include "_nav.html" %}{% include "_theme.html" %}
{% endblock %} {% block main %}

OakenMail

Your mail, kept close.

All quiet. Oaken is running.

{% if mail %}
Messages{{ "{:,}".format(mail.messages) }}
Indexed{{ "{:,}".format(mail.indexed) }} index {% if mail.index_stale %}stale{% else %}fresh{% endif %}
Queue depth{{ mail.queue_depth if mail.queue_depth is not none else "—" }}
{% if sync %}

{% if sync.backfill_paused %}backfill paused{% endif %} {% if sync.llm_paused %}model stages paused{% endif %} {% if not sync.backfill_paused and not sync.llm_paused %}pipeline running{% endif %}

{% endif %}
Connected accounts
{% for a in accounts %} {% set sch = (sync.schedules | selectattr("account_id", "equalto", a.account_id) | selectattr("folder", "equalto", "") | list) if sync else [] %} {% set sc = sch[0] if sch else none %} {% else %} {% endfor %}
AccountProviderNext syncLast sync
{{ a.display_name }}
{{ a.account_id }}
{# the provider and the state of its sync, together: with several providers, which one is paused #} {{ a.provider }} {% if a.paused %}paused {%- elif a.failures %}{{ a.failures }} failing {%- else %}syncing{% endif %} {{ sc.next_run[:16] | replace("T", " ") if sc and not a.paused else "—" }} {% if sc and sc.last_run %}{{ sc.last_run[:16] | replace("T", " ") }}{% if sc.last_result %} · {{ sc.last_result }}{% endif %}{% if sc.last_new is not none %} · {{ sc.last_new }} new{% endif %}{% else %}—{% endif %}
No accounts configured.
{% endif %}

Daemon environment

Version{{ version }}
Listen address127.0.0.1:{{ env.port if env.port else "—" }}
OAKEN_HOME{{ env.oaken_home if env.oaken_home else "(unset: platform defaults)" }}
Config file{{ env.config_dir }}/config.toml
Data directory{{ env.data_dir }}
Health/v1/health
{% endblock %}