{$_email = $_contact->get('email', 'default')} {$_sender = $contacts[$wa->userId()]}
{* TO *}
[`To`]:
{$_contact.name|escape} <{$_email|escape}>
{* COPY *} {* COPY *} {* FROM *}
[`From`]:
{$_sender->getSenderName()|escape} {if $_sender.email|count} [`via`] {/if} [`personal settings`]
{* SUBJECT *}
[`Subject`]:
{* TEXT *}
{* FILES *}
[`Attach file`]
{capture assign="_file_template_html"} {/capture}
{* ATTACH *} {if !empty($files)}

[`Attach existed files:`]

{/if} {* ACTIONS *}
[`or`] [`cancel`]
{$wa->csrf()}