Don't check for mail if username or password is missing