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

# Event Object

> Learn about the custom-email-provider Action trigger's event object, which provides contextual information about the trigger execution.

The `event` object for the custom-email-provider Actions trigger provides contextual information about the trigger execution.

```json Event Object theme={null}
{
  "client": {
    "client_id": "string",
    "metadata": {},
    "name": "string"
  },
  "notification": {
    "from": "string",
    "html": "string",
    "locale": "string",
    "message_type": "string",
    "subject": "string",
    "text": "string",
    "to": "string"
  },
  "request": {},
  "tenant": {
    "id": "string"
  },
  "user": {},
  "secrets": {}
}
```

## `event.client`

**event.client** `object`

Information about the Client with which this login transaction was initiated.

**event.client properties**

**client\_id** `string`

The client id of the application the user is logging in to.

**metadata** `dictionary`

An object for holding other application properties.

**name** `string`

The name of the application (as defined in the Dashboard).

## `event.connection`

**event.connection** `object`

Details about the Connection that was used to authenticate the user.

**event.connection properties**

**id** `string`

The connection's unique identifier.

**metadata** `dictionary`

Metadata associated with the connection.

**name** `string`

The name of the connection used to authenticate the user (such as `twitter` or `some-g-suite-domain`).

**strategy** `string`

The type of connection. For social connections, `event.connection.strategy === event.connection.name`. For enterprise connections, the strategy is `waad` (Windows Azure AD), `ad` (Active Directory/LDAP), `auth0` (database connections), and so on.

## `event.custom_domain`

**event.custom\_domain** `object`

Details about the custom domain associated with the current transaction.

**event.custom\_domain properties**

**domain** `string`

The custom domain name.

**domain\_metadata** `dictionary`

Custom domain metadata as key-value pairs.

## `event.notification`

**event.notification** `object`

**event.notification properties**

**from** `string`

Email address of the sender for the email.

**html** `string`

Rendered HTML template.

**locale** `string`

The locale we rendered the message in, example `en_US`, as defined in the BCP-47 specification.

**message\_type** `string`

The type of message that is being send, like `verify_email` or `welcome_email`.

Allowed values: `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `verification_code`, `mfa_oob_code`, `enrollment_email`, `blocked_account`, `stolen_credentials`, `try_provider_configuration_email`, `organization_invitation`

**subject** `string`

Subject to be attached to the email.

**text** `string`

Rendered text template.

**to** `string`

Email address of the recipient.

## `event.organization`

**event.organization** `dictionary`

Details about the Organization associated with the current transaction.

**event.organization properties**

**id** `string`

The Organization identifier.

**display\_name** `string`

The friendly name of the Organization.

**metadata** `dictionary`

Metadata associated with the Organization.

**name** `string`

The name of the Organization.

## `event.request`

**event.request** `object`

**event.request properties**

**geoip** `dictionary`

**geoip properties**

**cityName** `string`

**continentCode** `string`

**countryCode** `string`

**countryCode3** `string`

**countryName** `string`

**latitude** `number`

**longitude** `number`

**subdivisionCode** `string`

**subdivisionName** `string`

**timeZone** `string`

**hostname** `string`

The hostname that is being used for the authentication flow.

**ip** `string`

The originating IP address of the request.

**query** `dictionary`

The query string parameters sent to the authorization request.

**user\_agent** `string`

The value of the `User-Agent` header received when initiating the transaction.

## `event.secrets`

**event.secrets** `secrets`

Secret values securely associated with this Action.

## `event.tenant`

**event.tenant** `object`

**event.tenant properties**

**id** `string`

The name of the tenant.

**friendly\_name** `string`

The friendly name for the tenant, usually a more human-readable version of the ID.

**home\_url** `string`

The home URL for the tenant, if defined and as found in its settings.

**logo\_url** `string`

The logo URL for the tenant, if defined and as found in its settings.

**support\_email** `string`

The email to the tenant's support service, if defined and as found in its settings.

**support\_url** `string`

The url to the tenant's support service, if defined and as found in its settings.

## `event.transaction`

**event.transaction** `object`

Details about the current transaction for tracing purposes.

**event.transaction properties**

**correlation\_id** `string`

A unique identifier to correlate this request across multiple services for distributed tracing.

## `event.user`

**event.user** `dictionary`

An object describing the user on whose behalf the current transaction was initiated.

**event.user properties**

**app\_metadata** `dictionary`

Custom fields that store info about a user that influences the user's access, such as support plan, security roles, or access control groups.

**email** `string`

(unique) User's email address.

**email\_verified** `boolean`

Indicates whether the user has verified their email address.

**family\_name** `string`

User's family name.

**given\_name** `string`

User's given name.

**name** `string`

User's full name.

**nickname** `string`

User's nickname.

**picture** `string`

URL pointing to the [user's profile picture](https://auth0.com/docs/users/change-user-picture).

**user\_id** `string`

(unique) User's unique identifier.

**user\_metadata** `dictionary`

Custom fields that store info about a user that does not impact what they can or cannot access, such as work address, home address, or user preferences.

**username** `string`

(unique) User's username.
