<commit_before>{% comment %}
Mail sent to user when she was not logged in and received a PM or @-mention
{% endcomment %}

Hello {{ name }},

While you were away you received {{ messages|length }} new message{{ messages|pluralize }}{% if mention %} in which you were mentioned{% endif %}!


{% for recipient_block in messages %}
    {{ recipient_block.header|safe }}
    {% for sender_block in recipient_block.senders %}
        {% if sender_block.sender %}{{ sender_block.sender }}{% endif %}{% for message_block in sender_block.content %}
                {{ message_block.plain }}
        {% endfor %}
    {% endfor %}
{% endfor %}


Click here to log in to Zulip and view your new messages:<commit_msg>Fix a bug in the missed message count used for plaintext missed message emails.<commit_after>{% comment %}
Mail sent to user when she was not logged in and received a PM or @-mention
{% endcomment %}

Hello {{ name }},

While you were away you received {{ message_count }} new message{{ messages|pluralize }}{% if mention %} in which you were mentioned{% endif %}!


{% for recipient_block in messages %}
    {{ recipient_block.header|safe }}
    {% for sender_block in recipient_block.senders %}
        {% if sender_block.sender %}{{ sender_block.sender }}{% endif %}{% for message_block in sender_block.content %}
                {{ message_block.plain }}
        {% endfor %}
    {% endfor %}
{% endfor %}


Click here to log in to Zulip and view your new messages:
{'fraction_non_alphanumeric': 0.12075983717774763, 'fraction_numerical': 0.0, 'mean_word_length': 3.4832826747720365, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5655325', 'n_tokens_mistral': 447, 'n_tokens_neox': 400, 'n_words': 156}