{%- extends "layouts/" + render_mode + ".html" %} {%- block title %}{{_("Remove Account")}}{% endblock %} {%- block content %} {%- if result and result.form and result.rid %}

{{_("Remove Account")}}

{{ csrf_field|safe }}

{{ _("You are about to remove this account from your Mailpile") }}:

{{ _("By default this will remove: account details, OAuth credentials, saved passwords, linked mail sources, and route settings.") }} {{ _("This only affects local data, e-mail and settings on remote mail servers will not be modifed.") }}

{%- if result.profile.key %}

{{ _("If you also delete the encryption keys, you may be unable to read old encrypted e-mail.") }}

{%- endif %}

{{ _("Be careful!") }} {{ _("This operation can not be undone.") }}


{%- else %} {{ mailpile('http/redirect', U('/profiles/')) }} {%- endif %} {%- endblock %}