We have a requirement to programmatically send 'content sharing' emails using EXM. These emails are to include content from several selected content pages (title, intro, link).
I'm an EXM novice and just trying to work out the best approach for this.
I've looked into using email tokens but these are for plain text fields and wouldn't be suitable for injecting blocks of HTML.
I've also looked into creating a new email template for each email and adding the custom HTML to the body of the new template, but I'm wondering if that's overkill or if there is a better way?
Ideally I would like to create an email template that would allow me to pass some page IDs to it and then dynamically pull content from those pages and add this to a repeat block of HTML but I haven't seen any articles that suggest something like this would be possible.
This is to be added to a Sitecore 9.2 instance.