{% extends 'admin/master.html' %} {% block body %}
{% if no_match %} {% endif %} {% if alias %}

Alias {{ alias.email }} found

Alias id
{{ alias.id }}
Email
{{ alias.email }}
Created at
{{ alias.created_at }}
User
User id
{{ alias.user.id }}
Email
{{ alias.user.email }}
Premium
{{ alias.user.is_premium() }}
Disabled
{{ alias.user.disabled }}
Crated At
{{ alias.user.created_at }}
Mailboxes
{% for mailbox in alias.mailboxes %}
Mailbox id
{{ mailbox.id }}
Email
{{ mailbox.email }}
Verified
{{ mailbox.verified }}
Created At
{{ mailbox.created_at }}
{% endfor %}
{% endif %} {% if user %}

User {{ user.email }} found

User id
{{ user.id }}
Email
{{ user.email }}
{% if user.is_paid() %}
Paid
Yes
Subscription
{{ user.get_active_subscription() }}
{% else %}
Paid
No
{% endif %}
Created at
{{ user.created_at }}
Mailboxes
{% for mailbox in user.mailboxes() %}
Mailbox id
{{ mailbox.id }}
Email
{{ mailbox.email }}
Verified
{{ mailbox.verified }}
Created At
{{ mailbox.created_at }}
{% endfor %}
Aliases
{% for mailbox in user_aliases(user.id) %}
Mailbox id
{{ mailbox.id }}
Email
{{ mailbox.email }}
Verified
{{ mailbox.verified }}
Created At
{{ mailbox.created_at }}
{% endfor %}
{% endif %} {% if mailbox %}

Mailbox {{ mailbox.email }} found

Mailbox id
{{ mailbox.id }}
Email
{{ mailbox.email }}
Created at
{{ mailbox.created_at }}
User
User id
{{ mailbox.user.id }}
Email
{{ mailbox.user.email }}
Premium
{{ mailbox.user.is_premium() }}
Disabled
{{ mailbox.user.disabled }}
Crated At
{{ mailbox.user.created_at }}
{% endif %} {% endblock %}