> For the complete documentation index, see [llms.txt](https://postman-v1.guides.gov.sg/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://postman-v1.guides.gov.sg/email-api-guide/programmatic-email-api/send-email-api/email-body/embedding-images.md).

# Embedding Images

{% hint style="warning" %}
**Updated Nov 2026: The Postman Legacy Team will not be providing support for our email API until further notice.**

**Set-up is fully self-service:** Our endpoints remain open, so you may continue to integrate with them if it is sufficient for your use case.

* However, if you experience any issues, we will not be able to provide any support due to limited resources.
* Onboarding to custom from-email addresses and attachments for API is not available.
  {% endhint %}

## Supported Image Formats

Our API supports embedding images within the body of your email using the following methods:

1. [Linked images](https://postman-v1.guides.gov.sg/email-api-guide/programmatic-email-api/send-email-api/email-body/embedding-images/linked-images.md) - this is the recommended, modern method for including images in your email.
2. [Content-ID images](https://postman-v1.guides.gov.sg/email-api-guide/programmatic-email-api/send-email-api/email-body/embedding-images/content-id-images.md) - we have built this as a fallback for legacy applications that are unable to host images on the Internet; this could also be used for images that are dynamically generated by your application.

Note that this is distinct from *attaching an image to an email*, which will typically require your recipient to click on the attachment to view the full-size image. For more information on attachments, [see here](https://postman-v1.guides.gov.sg/email-api-guide/programmatic-email-api/send-email-api/attachments.md). In contrast, embedded images are displayed within the body of your emails.

## Linked images vs Content-ID images

### Advantages of linked images

* Emails are smaller in size as the image are hosted on a server elsewhere
* Better support by email clients
* Doesn't count towards the limit on the number of attachments an email can have

### Advantages of content-ID images

* Images exist entirely within the email; API user do not need to host the image separately
* Intranet recipients do not need to connect to the Internet to see the image

### More Info

For more information, see the section on [linked images](https://postman-v1.guides.gov.sg/email-api-guide/programmatic-email-api/send-email-api/email-body/embedding-images/linked-images.md) and [content-ID images](https://postman-v1.guides.gov.sg/email-api-guide/programmatic-email-api/send-email-api/email-body/embedding-images/content-id-images.md) respectively.

## How About Base64-Encoded Images?

We do not officially support base64-encoded images for the following reasons:

* Popular email clients like Gmail do not support base64-encoded images and your recipients will not be able to see the images.
* Emails with base64-encoded images are significantly larger, are more likely to be clipped by email clients (for more information, [see here](https://postman-v1.guides.gov.sg/email-api-guide/programmatic-email-api/send-email-api/email-body.md#size-limit)) take longer to send, and are more likely to be marked as spam.

If your use case requires dynamically generated images and you are unable to host your own images on the Internet, we recommend that you look into [Content-ID images](https://postman-v1.guides.gov.sg/email-api-guide/programmatic-email-api/send-email-api/email-body/embedding-images/content-id-images.md) as a replacement for base64-encoded images.

While we do not officially support base64-encoded images, we do not prevent you from sending them. If you choose to do so, please note that you have to stay within the [email size limit](https://postman-v1.guides.gov.sg/email-api-guide/programmatic-email-api/send-email-api/email-body.md#size-limit).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://postman-v1.guides.gov.sg/email-api-guide/programmatic-email-api/send-email-api/email-body/embedding-images.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
