Added zero length email checking to is_valid_email()