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

# CompanyEmailSettingsOAuth

> E-mail settings that sign in at the mail server through an OAuth provider.



**Kind**: `object`

## Implements

- `CompanyEmailSettings`

## Fields

**`companyId`**: `ID!`

The ID of the company.

---

**`authorizationType`**: `EmailAuthorizationType!`

How the company signs in at the mail server. Discriminator of the variant.

---

**`senderAddress`**: `String`

The sender address of outgoing mail, or null if none is set.

---

**`bccAddress`**: `String`

The address that receives a blind copy of every outgoing mail, or null if none is set.

---

**`isSmimeEnabled`**: `Boolean!`

Whether outgoing mail is signed with S/MIME. It is only true while a certificate is stored.

---

**`smimeConfiguration`**: `SmimeConfiguration`

The stored S/MIME certificate, or null if none is stored.

---

**`oAuthProviderId`**: `String!`

The ID of the OAuth provider, as listed by "QueryCompanyEmailOAuthProviders".

---

**`connectedEmailAddress`**: `String!`

The address of the connected mail account.

---

**`isConnectionValid`**: `Boolean!`

Whether the connection still works as of its last use. It is false once the provider has revoked the sign-in; the account then has to be connected again. Reading the settings does not contact the provider.

