In the Edapp flow classic training, you have some examples—under the chapter Email Connector, File Gallery and Image Viewer chapter.
This is what the flow script step looks like (to be insterted in the email step afterwards). But I recommend checking the training out for the full concept.