{math assign=tn_width equation="min(x,150)" x=$derivative_params->max_width()}
{$MAIL_TITLE}

{'Hello %s, %s sent you a photos collection from %s'|@translate|sprintf:$PARAMS.recipient_name:$PARAMS.sender_name:$GALLERY_URL:$GALLERY_TITLE}

{foreach from=$thumbnails item=element} {$element.NAME|truncate:25:"..."} {$element.TN_ALT} {/foreach}

{if $PARAMS.message}

{$PARAMS.message}

{/if}

{'Click here to view the complete collection'|@translate}