> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# emailSenderCreate

> Add a sender address the store can use as a campaign From or Reply-To address. Errors with `INVALID_EMAIL` if `email` isn't a full address, `INVALID_LOCAL_PART` if the part before the `@` has invalid characters or dots, `INVALID_DOMAIN` if the domain isn't valid, and `EMAIL_SENDER_EXISTS` if the store already has the address with this name.

**Required scopes:** [`campaigns_write`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-campaigns_write)

## Arguments

**input** `[EmailSenderCreateInput!](/docs/api-reference/v3/reference/marketing/email-sender-create-input)` *required*

The address to add.

**fields**

**email** `String!` *required*

The full address, such as `support@example.com`. Its domain can be any domain, so a help desk address can be a Reply-To address.

**isMailbox** `Boolean`

Whether the address can receive email. Defaults to false. Mark a Reply-To address as a mailbox, then verify it with `emailSenderSendVerification`.

**name** `String`

The display name shown alongside the address. Defaults to none.

## Returns

**emailSenderCreate** `[EmailSender!](/docs/api-reference/v3/reference/marketing/email-sender)` *required*

A From or Reply-To mailbox on the store, as configured under email domains.

**fields**

**createdAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the address was added.

**email** `String!` *required*

The mailbox address.

**id** `ID!` *required*

The id of this sender address. Pass it to `updateCampaign`, `emailSenderUpdate` or `emailSenderDelete`.

**isMailbox** `Boolean!` *required*

Whether the address can receive email. Replies to a Reply-To address that is not a mailbox are lost.

**mailboxVerifiedAt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

When the merchant confirmed the address receives email by opening its verification link, or null if it hasn't been verified. Send the link with `emailSenderSendVerification`.

**name** `String!` *required*

The display name shown alongside the address.

## Example

```graphql theme={null}
mutation {
  emailSenderCreate(input: { ... }) {
    createdAt
    email
    id
    isMailbox
    mailboxVerifiedAt
    name
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.