{%- if not result.errors %} {%- do result.__setitem__('errors', {'*': {'error': _("Message Not Found")}}) %} {%- endif %}

{{result.errors[result.errors.keys()[0]].error}}

{%- if result.errors|length > 1 %}

Other errors: {%- for e in result.errors %} {{- e.error }}{% if not loop.last %}, {% endif %} {%- endfor %}

{%- endif %}
{%- set details = [] %} {%- for k in result.errors %}

{%- set e = result.errors[k] %} {% if e.details %}{% do details.append(e.details) %}{{e.details}}
{% endif %} {{_("Display technical details.")}}

{{e.traceback}}
Message MID = {{ k }}
Error = {{ e.error }}
Details = {{ e.details }}
Data = {{ e.locations|json }}

{%- endfor %} {%- if not details %}

{{_("We were unable to find the message you requested, perhaps it was deleted?")}}

{%- endif %}

{{_("If you think this is a bug, please file a report including the technical details above.", url="https://github.com/mailpile/Mailpile/issues/new?title=Message%20not%20loading")}}