Sending multiple Attachments dynamically from DB using "Send Mail"

Hi, I need your help.
I can’t figure out how to attach multiple files from DB and sending using “Send Mail” in Server Actions.

The files are retrieving from a simple table like:
id | column_value| alias
image

And, in this step of Send Mail I’m stuck how to do it.

The recipients user is only one, so, this email send to only one user but the same should have contain multiple files (4),
The files change over time, that’s why I need dynamically attach to email.
Thanks.

I answer my own question.

This works:

image

Then in “Send Mail” attachment:

image

I don’t know if is the best solution, but it perfectly works, if someone else have a better solution, please don’t hesistate to write it.