{% extends 'layouts/base.njk' %} {% set title = app.name + ' - Account' %} {% block body %}

My mailbox

{{ mailboxIdentity | default('Mailbox') }}

{% if mailboxIdentity == null %}(Not created yet){% else %}{{ mailboxIdentity }}{% endif %}

{% for identity in identities %} {% else %} {% endfor %}
# Email Actions
{{ identity.id }} {{ identity.email }}
{{ macros.csrf(getCsrfToken) }}
No identity (yet).

{% if mailboxIdentity == null %}Create your mailbox{% else %}Create a new mail identity{% endif %}

{{ macros.field(_locals, 'text', 'name', user.name, 'Email name', null, 'required') }} @ {{ macros.field(_locals, 'select', 'mail_domain_id', null, 'Choose the email domain', null, 'required', domains) }}
If using a "public" domain, can only be set to your username.
{{ macros.csrf(getCsrfToken) }}
{% endblock %}