subject = Messages.get("mail.confirm.ask.subject");
message = Messages.get("mail.confirm.ask.message", url.toString());
toMail = user.email; // == email parameter
break;
default:
throw new AppException("unhandled token type " + type);
}
log.debug("sendMailResetLink: url = {}", url);
// Mail.Envelop envelop = new Mail.Envelop(subject, message, toMail);
// Mail.sendMail(envelop);