{% extends "zerver/emails/email_base_messages.html" %}

{% block preheader %}
    {% for recipient_block in messages %}
        {% for sender_block in recipient_block.senders %}
            {% for message_block in sender_block.content %}
            {{ message_block.html|safe }}
            {% endfor %}
        {% endfor %}
    {% endfor %}
{% endblock %}

{% block content %}
    {% if show_message_content %}
        {% for recipient_block in messages %}
            {% for sender_block in recipient_block.senders %}
                <div class="missed_message">
                    {% for message_block in sender_block.content %}
                        {{ message_block.html|safe }}
                    {% endfor %}
                </div>
            {% endfor %}
        {% endfor %}
    {% endif %}
{% endblock %}

{% block manage_preferences %}
<div class="email-preferences">
    &mdash;<br>
    {% if mention %}
    You are receiving this because you were mentioned.<br>
    {% elif stream_email_notify %}
    You are receiving this because you have email notifications enabled for this stream.<br>
    {% endif %}
    {% if reply_to_zulip %}
    Reply to this email directly, <a href="{{ narrow_url }}">view it in Zulip</a>, or <a href="{{ realm_uri }}/#settings/notifications">manage email preferences</a>.
    {% else %}
    <a href="{{ narrow_url }}">Reply in Zulip</a>, or <a href="{{ realm_uri }}/#settings/notifications">manage email preferences</a>.<br>
    <br>
    Do not reply to this message. This Zulip server is not
    configured to accept incoming emails (<a href="https://zulip.readthedocs.io/en/latest/production/email-gateway.html">help</a>).

    {% endif %}
</div>
{% endblock %}

{% extends "zerver/emails/email_base_messages.html" %}

{% block content %}
    {% if show_message_content %}
        {% for recipient_block in messages %}
            {% for sender_block in recipient_block.senders %}
                <div class="missed_message">
                    {% for message_block in sender_block.content %}
                        {{ message_block.html|safe }}
                    {% endfor %}
                </div>
            {% endfor %}
        {% endfor %}
    {% endif %}
{% endblock %}

{% block manage_preferences %}
<div class="email-preferences">
    &mdash;<br>
    {% if mention %}
    You are receiving this because you were mentioned.<br>
    {% elif stream_email_notify %}
    You are receiving this because you have email notifications enabled for this stream.<br>
    {% endif %}
    {% if reply_to_zulip %}
    Reply to this email directly, <a href="{{ narrow_url }}">view it in Zulip</a>, or <a href="{{ realm_uri }}/#settings/notifications">manage email preferences</a>.
    {% else %}
    <a href="{{ narrow_url }}">Reply in Zulip</a>, or <a href="{{ realm_uri }}/#settings/notifications">manage email preferences</a>.<br>
    <br>
    Do not reply to this message. This Zulip server is not
    configured to accept incoming emails (<a href="https://zulip.readthedocs.io/en/latest/production/email-gateway.html">help</a>).

    {% endif %}
</div>
{% endblock %}

Remove preheader block from missed message emails.
emails: Remove preheader block from missed message emails.
