---
schema_version: "1"
id: 9e9e3cb6e190cffdf5556fdf2ebbaf983de397660a049abc2bba84780b5210ec
title: EmailInsightAction
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_emailinsightaction.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_emailinsightaction.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 03134ec08403d832204f6d37df0d352a43ded4c0dc955660126320edd2e224ae
description: Represents the actions that have been taken, or could be taken, in relation to email insights. It logs different types of actions and associated metadata, helping to track and manage the activities and decisions made based on email insights. This object is available in API version 63.0 and later.
---
# EmailInsightAction

Represents the actions that have been taken, or could be taken, in relation to email insights. It logs different types of actions and associated metadata, helping to track and manage the activities and decisions made based on email insights. This object is available in API version 63.0 and later.

## Supported Calls

describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()

## Special Access Rules

EmailStream permission must be enabled.

EmailStreamPref and SyncEmailToCoreActivity Org prefs must be enabled.

To be able to see SyncEmailToCoreActivity preference, EACLegacyEmailSyncAWS Org permission, AnalyticsActivity, UnifiedActivities, and ActivityMetrics must be disabled. In addition, license to Standard Einstein Activity Capture and turning on Einstein Activity Capture and EmailInsights provisions the required permissions and preferences.

## Fields

| Field | Details |
| --- | --- |
| ActionMetadata | 
Type

textarea

Properties

Nillable

Description

The metadata for the action.



 |
| EmailInsightId | 

Type

reference

Properties

Filter, Group, Sort

Description

Required. The ID of the email insight where the action is applied.

This field is a relationship field.

Relationship Name

EmailInsight

Refers To

EmailInsight



 |
| InsightAction | 

Type

picklist

Properties

Defaulted on create, Filter, Group, Restricted picklist, Sort

Description

Required. The action that's taken on the email insight.

Possible values are:

- CreateCalendarEvent
- CreateTaskWithDate
- EciCreateEmail
- EciScheduleMeetings
- EciSendEmail
- EmailReply
- EmailReplyLater
- EmailReplyWithTemplate
- InsertFreeTime
- PostOnChatter
- ViewCalendar
- ViewContactProfile

The default value is EmailReply.



 |
| IsLocked | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Indicates whether the email insight action record is locked or not.

The default value is false.



 |
| MayEdit | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Indicates whether the email insight action record can be edited or not.

The default value is false.



 |
| RowVersion | 

Type

string

Properties

Defaulted on create, Filter, Group, Sort

Description

A system-generated, read-only field that tracks the version of a record. Each time a record is created or updated, the RowVersion value increments, providing a mechanism to detect changes and manage concurrency.



 |