{% block subject %}{% endblock %}

{% block sender %}
    {% for email, name in from %}
        {{ name }} <{{ email }}>
    {% endfor %}
{% endblock %}

{% block from %}{{ block('sender') }}{% endblock %}

{% block body_text %}
    {{ block('body_html')|html_to_text|raw }}
{% endblock %}

{% block body_html %}
    {% block content %}{% endblock %}
{% endblock %}

{% block subject %}{% endblock %}

{% block sender %}
    {% for email, name in from %}
        {{ name }} <{{ email }}>
    {% endfor %}
{% endblock %}

{% block from %}{{ block('sender') }}{% endblock %}
{% block title %}{{ block('subject') }}{% endblock %}
{% block content_type %}text/html{% endblock %}

{% block body_text %}
    {{ block('body_html')|html_to_text|raw }}
{% endblock %}

{% block body_html %}
    {% block content %}{% endblock %}
{% endblock %}

Add title and content type Twig blocks to email layout
Add title and content type Twig blocks to email layout
