Hi,
I’m trying to send an email using Make-module “Microsoft 365 Email (Outlook)” with an image embedded. Opening this email in Gmail however, no image at all is displayed.
This is the HTML included in the mail body:
Do you see this image clearly? <Br>
<img src="https://i.ytimg.com/vi/-wYqj4En-W8/oar2.jpg?sqp=-oaymwEoCJUDENAFSFqQAgHyq4qpAxcIARUAAIhC2AEB4gEKCBgQAhgGOAFAAQ==&rs=AOn4CLBPLQwxurfJGQAr_p01rbOROvKs5w" alt="sample" />
What could cause this? How to resolve?
See blueprint and gmail-screenshot attachment.
Many thanks.
Dirk
blueprint (4).json (10.3 KB)
Welcome to the Make community!
You cannot attach via URL. You need to download the file data (binary) first.
Use the HTTP “Get a File” module with the file URL that you need to download. This assumes that the URL is public and doesn’t require login.

If you have an array of multiple file URLs, you can use an Iterator module to send each URL individually to the “Get a file” module.
Hope this helps! Let me know if there are any further questions or issues.
— @samliew
P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.
Thanks for your suggestion.
I’ve added a “Get a file” module. Adding the output file as a mail attachment works perfectly.
However, when trying to embed the image in the mail body, still does not work.
Any more ideas to resolve this?
Many thanks,
Dirk
Found cause and solution: “width” and “height” parameters are required
BTW: there’s no need to download the file using “Get a file”, adding the URL directly works.
Sample field “Body Content” in Module: “Microsoft 365 Email (Outlook)” :
Sample Gmail output:
Thanks for your responses anyhow!
Dirk
1 Like