pub fn wrap_in_layout(
layout_html: &str,
fields: &EmailLayoutFields<'_>,
) -> StringExpand description
Wraps a rendered body in an email shell: {{CONTENT}} gets the body as is, {{SUBJECT}},
{{PREHEADER}} and {{LANGUAGE}} their escaped values. One pass, so placeholders inside the body
are never expanded.