{% set mail_view = service('email').render(theme_name ~ ':' ~ theme_component,[],current_language) %}
{{ theme_component }}
{% if mail_view.getLibraryName() is not empty %}
{{ mail_view.getLibraryName() }}
{% endif %}
{{ labels.inline }} {{ (mail_view.inlineCssOption() == true) ? labels.on : labels.off }}
{% if mail_view.inlineCssOption() == true and mail_view.getCssInlinerClass() is not empty %}
{{ mail_view.getCssInlinerClass() }}
{% endif %}
{{ component('semantic~code',{ content: mail_view.getHtmlCode() }) }}