boolean emailSent = true;
UserService userService = UserServiceFactory.getUserService();
User user = userService.getCurrentUser();
UserBeanOAM oam = provider.get();
User newUser = new User(action.getEmail(), UserBeanOAM.AUTH_DOMAIN_NOT_REGISTERED, new BigInteger(130, random).toString(32));
InfoLoginResult result = oam.persistUser(null, newUser, user.getEmail(), user.getEmail());
if(result.isSendEmail()){
try {
String token = result.getToken();
sendEmail(user.getEmail(), newUser.getEmail(), token);
} catch (MessagingException|IOException e) {