fixed mail template with thymeleaf need to refactor mailing