How do I embed an image with the API?
Give the attachment acontent_id wrapped in angle brackets, and use the same value without the brackets after cid: in your HTML:
cid:.
Should I embed images or link to them?
Embed small images that must always show, such as a logo. Link larger images and anything you might want to change later.
How do I embed an image over SMTP?
Add the image as a MIME part with aContent-ID header inside a multipart/related part, and refer to it with cid: in the HTML. Most mail libraries have a helper for this, often called an embedded or inline attachment.

