Handled case of email being blank or undefined.