> 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/from-name-and-from-address.md).

# From Name and From Address

{% 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 %}

## From Name vs From Address

The `from` field of an email contains **from name** and **from address**. This is illustrated in the image below:

<figure><img src="https://4126954886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MAQH3DF49Lq0AJudrbF%2Fuploads%2FfoqstFVY3gHc9BbVpeQy%2Ffrom_add.png?alt=media&amp;token=52a510f9-a710-4e42-907c-38bba280b900" alt=""><figcaption></figcaption></figure>

Postman changed its default From Address from <mark style="color:red;">`donotreply@postman.gov.sg`</mark> to <mark style="color:red;">`info@postman.gov.sg`</mark> on 27 Aug 2024.&#x20;

### API users using <mark style="color:red;">`info@postman.gov.sg`</mark> as their From Address

If the `from` field in the JSON body of the API call is omitted:

1. The from name defaults to `Postman.gov.sg`
2. The from address defaults to `<info@mail.postman.gov.sg>`

### API users using <mark style="color:red;">`donotreply@postman.gov.sg`</mark> as their From Address

If your agency has **previously hardcoded** <mark style="color:red;">`donotreply@postman.gov.sg`</mark> and wish to continue using <mark style="color:red;">`donotreply@postman.gov.sg`</mark> as your From Address

* there is no code change thats needs to be done on your code base
* take note that your From Address **will still remain as** <mark style="color:red;">`donotreply@postman.gov.sg`</mark>

## Changing From Name

In our API, the from name of an email can be changed by the API user by modifying the `from` field in the API call. For example, to use `New Product` as the from name, the API user could use the following JSON body:

```json
{
  "recipient": "zixiang@open.gov.sg",
  "subject": "Hello there",
  "body": "What's upppp",
  "from": "New Product <info@mail.postman.gov.sg>"
}
```

The email recipient will see the following:

<figure><img src="https://4126954886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MAQH3DF49Lq0AJudrbF%2Fuploads%2FhYVYs2di3zLT7eV2U4bh%2Fnew%20product.png?alt=media&amp;token=3a77dd98-de61-48b4-93b0-2abe7bae14e2" alt=""><figcaption></figcaption></figure>

For users that wish to customise their emails without going through the hassle of setting up a [custom from address](https://postman-v1.guides.gov.sg/email-api-guide/programmatic-email-api/custom-from-address.md), this is an intermediate solution used by our existing users.

## Using a Custom From Address

Users may wish to send emails using a custom from name as well as a custom from address (i.e. any email address that is not the default `<info@mail.postman.gov.sg>`. Setting up a custom from address is necessary; for more information, [see here](https://postman-v1.guides.gov.sg/email-api-guide/programmatic-email-api/custom-from-address.md).

{% hint style="info" %}
Create an account on Postman using the email address from which you wish to send your email.

For example, if you want your email to be sent from <mark style="color:red;">`no-reply@agency.gov.sg`</mark>, you should log into Postman using this email address and generate your API keys on the dashboard.
{% endhint %}

To make use of the custom from address, the JSON body of the API call is:

```json
{
  "recipient": "zixiang@open.gov.sg",
  "subject": "Hello there",
  "body": "What's upppp",
  "from": "New Product <info@mail.postman.gov.sg>"
}
```

The recipient will see:

1. A custom from name `New Product`
2. A custom from address `<test_admin@postman.gov.sg>`

![](https://4126954886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MAQH3DF49Lq0AJudrbF%2Fuploads%2Fgit-blob-d67809253126eab267a2fa863e7ffafc48f1cb04%2Fcustom-domain.png?alt=media)


---

# 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/from-name-and-from-address.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.
