Email Template AEM CQ5 foreach loop
<p>I need to send an email that lists out product information for multiple products. Is there a way to create a email template with a foreach loop in aem? I have implemented a static email structure where I would replace the string names, for example <a href="https://adobe-consulting-services.github.io/acs-aem-commons/features/email-api.html" rel="nofollow">https://adobe-consulting-services.github.io/acs-aem-commons/features/email-api.html</a>. But I need to loop over data and I am not sure how to do that. Any information or direction on this would be helpful.</p>