protected Map<String, Object> buildEmailBodyParameters(final Principal principal, final Ticket tokenTicket) {
        val parameters = CoreAuthenticationUtils.convertAttributeValuesToObjects(principal.getAttributes());
        val token = tokenTicket.getId();
        val tokenWithoutPrefix = token.substring(CasSimpleMultifactorAuthenticationTicket.PREFIX.length() + 1);
        parameters.put("token", token);
        parameters.put("tokenWithoutPrefix", tokenWithoutPrefix);
        return parameters;
    }
This is {@link CasSimpleMultifactorSendEmail}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-simple-mfa-core/src/main/java/org/apereo/cas/mfa/simple/web/flow/CasSimpleMultifactorSendEmail.java