> ## 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.

# emailDomains

> Domains the store sends email from, with the DNS records each one needs.

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

## Arguments

**after** `String`

Forward pagination cursor — returns domains after it.

**before** `String`

Backward pagination cursor — returns domains before it.

**first** `Int`

Forward pagination: returns the first N domains (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.

**last** `Int`

Backward pagination: returns the last N domains (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.

**orderBy** `[EmailDomainSortKey](/docs/api-reference/v3/reference/marketing/email-domain-sort-key)`

Which key to sort by (defaults to the first key, newest-first). Combine with `reverse` to flip direction.

**reverse** `Boolean`

Reverses the sort direction selected by `orderBy` (or its default).

## Returns

**emailDomains** `[EmailDomainConnection!](/docs/api-reference/v3/pagination)` *required*

A paginated list of EmailDomain items.

**fields**

**edges** `[\[EmailDomainEdge!\]!](/docs/api-reference/v3/pagination)` *required*

The list of edges (each a node plus its pagination `cursor`).

**fields**

**cursor** `String!` *required*

Opaque cursor for this item; pass to `after`/`before` to page from here.

**node** `[EmailDomain!](/docs/api-reference/v3/reference/marketing/email-domain)` *required*

The item at this edge.

**fields**

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

When the domain was added.

**dkimStatus** `[EmailDomainDkimStatus!](/docs/api-reference/v3/reference/marketing/email-domain-dkim-status)` *required*

Whether the email provider has verified the DKIM key. Sender addresses on the domain can send once it is `VERIFIED`.

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

When Redo last looked up the DNS records and verification. Null until it has. `emailDomainVerify` checks again.

**dnsRecords** `[\[EmailDomainDnsRecord!\]!](/docs/api-reference/v3/reference/marketing/email-domain-dns-record)` *required*

The DNS records to publish at the store's DNS provider, each with what Redo last found. DNS changes can take up to 72 hours to propagate.

**domain** `String!` *required*

The domain, such as `example.com`.

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

The id of this email domain.

**mailFromDomain** `String`

The MAIL FROM domain bounces return through, such as `send.example.com`. Null until set with `emailDomainMailFromSet`.

**mailFromStatus** `[EmailDomainMailFromStatus!](/docs/api-reference/v3/reference/marketing/email-domain-mail-from-status)` *required*

Whether the email provider has verified the MAIL FROM domain.

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

When the domain's settings or verification last changed.

**nodes** `[\[EmailDomain!\]!](/docs/api-reference/v3/reference/marketing/email-domain)` *required*

The nodes in this page, without the edge/cursor wrapper — a convenience over `edges`.

**fields**

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

When the domain was added.

**dkimStatus** `[EmailDomainDkimStatus!](/docs/api-reference/v3/reference/marketing/email-domain-dkim-status)` *required*

Whether the email provider has verified the DKIM key. Sender addresses on the domain can send once it is `VERIFIED`.

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

When Redo last looked up the DNS records and verification. Null until it has. `emailDomainVerify` checks again.

**dnsRecords** `[\[EmailDomainDnsRecord!\]!](/docs/api-reference/v3/reference/marketing/email-domain-dns-record)` *required*

The DNS records to publish at the store's DNS provider, each with what Redo last found. DNS changes can take up to 72 hours to propagate.

**fields**

**kind** `[EmailDomainDnsRecordKind!](/docs/api-reference/v3/reference/marketing/email-domain-dns-record-kind)` *required*

What the record does.

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

The full hostname to publish the record at, such as `redo._domainkey.example.com`. Some DNS providers want only the part before the domain.

**priority** `Int`

The MX priority. Null for other record types.

**status** `[EmailDomainDnsRecordStatus](/docs/api-reference/v3/reference/marketing/email-domain-dns-record-status)`

What Redo found when it last looked the record up. Null until it has looked.

**type** `[EmailDomainDnsRecordType!](/docs/api-reference/v3/reference/marketing/email-domain-dns-record-type)` *required*

The record type.

**value** `String!` *required*

The value to publish.

**domain** `String!` *required*

The domain, such as `example.com`.

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

The id of this email domain.

**mailFromDomain** `String`

The MAIL FROM domain bounces return through, such as `send.example.com`. Null until set with `emailDomainMailFromSet`.

**mailFromStatus** `[EmailDomainMailFromStatus!](/docs/api-reference/v3/reference/marketing/email-domain-mail-from-status)` *required*

Whether the email provider has verified the MAIL FROM domain.

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

When the domain's settings or verification last changed.

**pageInfo** `[PageInfo!](/docs/api-reference/v3/pagination)` *required*

Pagination metadata for the current page.

**fields**

**endCursor** `String`

Cursor of the last edge in this page; pass to `after` to page forward.

**hasNextPage** `Boolean!` *required*

Whether more items exist after this page (drives forward pagination with `first`/`after`).

**hasPreviousPage** `Boolean!` *required*

Whether more items exist before this page (drives backward pagination with `last`/`before`).

**startCursor** `String`

Cursor of the first edge in this page; pass to `before` to page backward.

## Example

```graphql theme={null}
query {
  emailDomains(after: "...", before: "...", first: 10, last: 10, orderBy: CREATED_AT, reverse: true) {
    nodes {
      createdAt
      dkimStatus
      dnsLastCheckedAt
      domain
      id
      mailFromDomain
      mailFromStatus
      updatedAt
    }
    pageInfo { hasNextPage endCursor }
  }
}
```


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