{$_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}
{* SUBJECT *}
{* TEXT *}
{* ACTIONS *}
{* FILES *}
{* *}
{* ATTACH *} {if !empty($files)}

[`Attach existed files:`]

{/if}
{*OLD*} {* *} {*NEW*}
{*
[`Attach file`]
*}
{if !empty($conversation.aux_items.reply_form_ai_answer)} {$conversation.aux_items.reply_form_ai_answer.button} {/if}
{* ACTIONS *}
{capture assign="_file_template_html"}
{/capture}
{$wa->csrf()}