Hi
I have a requirement to generate a mail from AEM, in which a bunch of lines of the template has to looped over and the data should be filled in from a list (like we use data-sly-list in sightly code).
Right now I am using the com.day.cq.commons.mail.MailTemplate which is good for the simple variable replacements of the mail template, but not for this use-case. Is there a way to achieve this?