don't try to send the email if email is empty