firstly, Directory.GetFiles(“…”) returns an array of files, not just one file, so you have to loop the result.
You need to convert the the image file to base64 format then put the base64 format string into your email body.
Use my workflow to convert image to base64 string:
pass in your image path and it will output a string
ConvertImageToBase64.xaml (5.5 KB)
Then in email body, replace <img src=AllDocumentsFilepath><br><br>
with the output string and it will be ok
Your image will have to be png, if you want it to be jpg change the “png” here to “jpg”