class AnonymousUserRequestsNewApiTokenService {

	public void anonymousRequestToGetNewApiTokenForUserMailAdress(String userEmail) {
		LOG.info("New api token requested for email address: {})",logSanitizer.sanitize(userEmail,50));

		assertion.isValidEmailAddress(userEmail);

		Optional<User> found = userRepository.findByEmailAdress(userEmail);
		if (! found.isPresent()) {
			/* we just do nothing here - prevent user enumeration by hacking...*/
			LOG.warn("Anonymous request to get new api token, but user unknown: {})",logSanitizer.sanitize(userEmail,50));
			return;
		}

		User user = saveUserWithNewOneTimeToken(found);

		sendUserNewApiTokenRequested(userEmail, user);
	}

}