You can always attach an image to an email, but the other way it will work is if you copy the image from a publicly available website like so:
And then paste it in the email message.
If you copy an image from your own computer, it will not work.
Note: When the email is received, many email software will not download the image automatically and instead show a red X or similar.