class MailContentBuilderService {

	public String buildPlainTextMail(String mailBody, final Map<String, Object> details) {
		for (Map.Entry<String, Object> entry : details.entrySet()) {
			mailBody = mailBody.replace("${".concat(entry.getKey()).concat("}"), entry.getValue().toString());
		}
		return mailBody;
	}

	@Autowired public  MailContentBuilderService(TemplateEngine templateEngine);

}