ctx.setVariable("name", userDomain.getUser().getFullName());
ctx.setVariable("userName", userModel.getFullName());
ctx.setVariable("applicationName", applicationVersion.getApplication().getName());
ctx.setVariable("applicationVersion", applicationVersion.getVersionName());
ctx.setVariable("organizationName", organization.getName());
ctx.setVariable("url", request.generateURL("/manager"));
// Create the HTML body using Thymeleaf
final String htmlContent = this.templateEngine.process("email-applicationPublishRequestTH", ctx);
applyBranding(organization, ctx);
message.setText(htmlContent, true /* isHtml */);