Emails: Different welcome email for contact

If you wish to send different email than Client:Details:Signup when clients add contact to their profile you can use following smarty logic in Client:Details:Signup email template, to distinguish contact from client: