Add if statement for email