Nylas Docs

The Nylas Developer Hub

Welcome to the Nylas developer hub. You'll find comprehensive guides and documentation to help you start working with Nylas as quickly as possible, as well as support if you get stuck. Let's jump right in!

Developer Guide

Sender display name

When sending mail through the Nylas APIs, you have the ability to set the display name of the sender. Here's an example body of an API request with the from name that gets set to "Custom Name":

    "body" : "Sounds great! See you then.",
    "subject": "Testing default account name",
    "from": [ { "name": "Custom Name", "email":"[email protected]"}],
    "to": [
            "name": "Michael Pfister",
            "email": "[email protected]"

For accounts other than Microsoft/Exchange/O365, you can override this name by passing in a "From" field when sending mail as you see above. If no "From" field is included when you send a message, we will use the default name set for the account. You can find out what the default name for an account is by querying the /account endpoint.

Unfortunately, some Exchange server's ignore "From" headers when sending mail and instead default to the "Display Name" set for the users Exchange account. In this case, we can't affect how the sender name appears and instead the user will have to update in their settings.

Updated about a month ago

Sender display name

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.