{# Welcome email (plain text) #}
{%- import 'emails/login/_text-utils.txt.twig' as text -%}
{%- set subject = 'PLUGIN_LOGIN.WELCOME_EMAIL_SUBJECT'|t(site_name) -%}
{%- do email.message.setSubject(subject) -%}
{{ text.from_html('PLUGIN_LOGIN.WELCOME_EMAIL_BODY'|t(user.fullname ?? user.username, base_url_absolute, site_name, author)) }}

{{ base_url_absolute }}
