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

Hello {{ name }},

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

<div id='messages'>
{% for recipient_block in messages %}
    <div class='recipient_block'>
        <div class='recipient_header'>{{ recipient_block.header }}</div>
        <div class='message_content'>
        {% for sender_block in recipient_block.senders %}
            {% if sender_block.sender %} <div class="message_sender">{{ sender_block.sender }}</div>{% endif %}
            {% for message_block in sender_block.content %}
                <div class='message_content_block'>
                    {{ message_block.html|safe }}
                </div>
            {% endfor %}
        {% endfor %}
        </div>
    </div>
{% endfor %}
</div>


<p><a href="{{ url }}">Click here to log in to Humbug and view your new messages.</a></p>

{% if reply_warning %}
<p>Please do not reply to this automated message. To respond to the missed messages you have received, please log on to Humbug and send your replies there.</p>
{% endif %}

<p>Cheers,
<br>
The Humbug Team</p><commit_msg>Add styling to our HTML messages<commit_after>{% comment %}
Mail sent to user when she was not logged in and received a PM or @-mention
{% endcomment %}

Hello {{ name }},

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

<div id='messages' style="width: 600px;font-size: 12px;font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;overflow-y: scroll;">
{% for recipient_block in messages %}
    <div class='recipient_block' style="border: 1px solid black;margin-bottom: 4px;">
        <div class='recipient_header' style="background-color: #9ecaff;border-bottom: 1px solid black;font-weight: bold;padding: 2px">{{ recipient_block.header }}</div>
        <div class='message_content' style="margin-left: 1px;margin-right: 2px;">
        {% for sender_block in recipient_block.senders %}
            {% if sender_block.sender %} <div class="message_sender" style="font-weight: bold;padding-top: 1px;">{{ sender_block.sender }}</div>{% endif %}
            {% for message_block in sender_block.content %}
                <div class='message_content_block' style="padding-left: 6px;font-weight: normal;">
                    {{ message_block.html|safe }}
                </div>
            {% endfor %}
        {% endfor %}
        </div>
    </div>
{% endfor %}
</div>


<p><a href="{{ url }}">Click here to log in to Humbug and view your new messages.</a></p>

{% if reply_warning %}
<p>Please do not reply to this automated message. To respond to the missed messages you have received, please log on to Humbug and send your replies there.</p>
{% endif %}

<p>Cheers,
<br>
The Humbug Team</p>
{'fraction_non_alphanumeric': 0.14467089876378217, 'fraction_numerical': 0.004677581022385567, 'mean_word_length': 3.3017241379310347, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 49, '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': '6073007', 'n_tokens_mistral': 964, 'n_tokens_neox': 875, 'n_words': 292}