user.email is a required field in the database so it's never undefined and will always be a string. It's the email that the user enters to sign up for an account. I would just leave out this conditional altogether.