How can I send an email if last name field is filled?