Make sure stuff isn't null before putting in email template