Format list of emails for Send Email data op

What’s the best way to format a list in the email data op so it appears listed vertically, instead of as one line?

I used a transform to flatten the list, but I’m not sure how to modify it for the email.

(what I want)

(what I get) email1 email2 email3

Hi @Mike_Cammon! Great questions! Are your emails currently in an array? Do they look something like this?


If yes, then you can use the Send Email data operation, and in the Body HTML property, you would pass this expression.

"<p> {{JOIN(array_of_emails, "<br>")}} </p>"

The output will look like this:

<p> <br> <br> </p>

which puts a line break after each email.