return velocityTemplateEngine;
}
@SuppressWarnings("unused")
protected EmailFacade createEmailFacadeDocumentAlert(JavaMailSenderImpl javaMailSender, MessageTemplateAssembly templates) {
MailSender mailSender = createMailSender(javaMailSender);
EmailFacadeDocumentAlert emailFacade = new EmailFacadeDocumentAlert(templateEngine, mailSender, velocityModelFactory, pdfGenerator);
emailFacade.setBodyTemplate(templates.getBodyTemplate());
emailFacade.setBodyTemplateNoAttachment(templates.getBodyTemplateNoAttachment());
emailFacade.setSubjectTemplate(templates.getSubjectTemplate());
emailFacade.setPdfTemplate(templates.getPdfTemplate());