{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}

{$greeting},

{/if}

Thank you for signing {$petition.title}.

{include file="CRM/Campaign/Page/Petition/SocialNetwork.tpl" petition_id=$survey_id noscript=true emailMode=true}