Skip to main content

emailConfig

Requires permission settings:email:read.

Returns the organization's email sending configuration, or null when none exists. Requires permission to read email settings.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query EmailConfig {
emailConfig {
id
fromName
createdAt
createdBy
dailyReportTime
defaultRecipients
}
}

Response:

{
"data": {
"emailConfig": {
"id": "string",
"fromName": "string",
"createdAt": "2025-01-15T00:00:00Z",
"createdBy": "string",
"dailyReportTime": "string",
"defaultRecipients": [
"string"
]
}
}
}
emailConfig: EmailConfig

Type​

EmailConfig object​

The organization's email settings. Secrets are never returned.