Skip to main content

CreateEmailPayload

The output of our create Email mutation.

type CreateEmailPayload {
clientMutationId: String
email: Email
query: Query
receiverAccount: Account
receiverProfile: Profile
senderAccount: Account
senderProfile: Profile
accord: Accord
emailEdge(
orderBy: [EmailsOrderBy!] = [PRIMARY_KEY_ASC]
): EmailsEdge
}

Fields​

CreateEmailPayload.clientMutationId ● String scalar​

The exact same clientMutationId that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations.

CreateEmailPayload.email ● Email object​

The Email that was created by this mutation.

CreateEmailPayload.query ● Query object​

Our root query field type. Allows us to run any query from our mutation payload.

CreateEmailPayload.receiverAccount ● Account object​

Reads a single Account that is related to this Email.

CreateEmailPayload.receiverProfile ● Profile object​

Reads a single Profile that is related to this Email.

CreateEmailPayload.senderAccount ● Account object​

Reads a single Account that is related to this Email.

CreateEmailPayload.senderProfile ● Profile object​

Reads a single Profile that is related to this Email.

CreateEmailPayload.accord ● Accord object​

Reads a single Accord that is related to this Email.

CreateEmailPayload.emailEdge ● EmailsEdge object​

An edge for our Email. May be used by Relay 1.

CreateEmailPayload.emailEdge.orderBy ● [EmailsOrderBy!] list enum​

The method to use when ordering Email.

Returned By​

createEmail mutation