Create a Send Email Action on the Case Record Page in Salesforce

In this article, I will show you how to create a Send Email action on a Case record page. In order to display the Send Email action on the Case record page, some pre-configuration is required.

 

Actions are usually displayed as buttons in the highlights panel, but activity-related (e.g., New Task), posting-related, and emailing are not displayed in the highlights panel.

These need to be placed in the page layout and the components need to be placed on the Lightning record page.

  • In the case of Case object, Actions are displayed as tabs by placing Chatter or Chatter publisher component on the Lightning record page.
  • Objects other than Case, Actions are displayed by placing the Activity component on the Lightning record page. Optionally, you can choose to display them as buttons or tabs in the component.

 

Send Email Action

This time, display the Send Email action and the Email related list.

 

 

Pre-configuration

In order to display the Send Email action on the case record page, the following settings are required

  • Set the Access level of Deliverability to "All email"

If it is not "All email," the email action cannot be displayed and created. *Common for all objects.

  • Enable Email-to-Case

If not enabled, cannot view and create email actions.

  • Enable Chatter Settings

If not enabled, the Chatter component cannot be placed on a record page and the email action cannot be displayed.

 

Set the Access level of Deliverability to "All email"

Click ″Setup from the settings icon in the upper right corner of the screen.

 

Enter Deliverability in the search box and click "Deliverability". Set the Access level to "All email" and save.

 

 

Enable Email-to-Case

Enter email- in the search box and click "Email-to-Case". Check on the Enable Email-to-Case and save.

*After you enable Email-to-Case, you cant disable it.

 

 

Enable Chatter Settings

Enter chatter in the search box and click "Chatter Settings". Check on the Enable and save.

 

 

Create Send Email Action

From the Object Manager tab, click Case.

 

Click ″Buttons, Links, and Actions″ in the left sidebar, then click ″New Action.

 

Set the properties. Only for the Case object, "Default Email Template" will appear, allowing you to set a default email template.

 

Sets the layout of the Send Email screen.

 

From the Predefined Filed Values, click New.

 

Sets the value that will be set by default when the email is created. In this case, the case's Contact is set as the To Recipients by default.

Field: To Recipients

Formula Value: Case.ContactId

 

The Send Email Action is complete.

 

Click ″Case Page Layouts″ in the left sidebar, then click the page layout name.

 

Here I will place "Send Email", "Post" and "New Task". Since these are not displayed as buttons in the highlights panel, they should be grouped together at the very back. This order will be the order of the tabs.

 

Click "Related Lists" and place "Emails" in the Related Lists.

 

 

Place the Email Tab on the Lightning Record Page

Click ″Lightning Record Pages in the left sidebar, then click the label.

 

Click the Edit button.

 

There are three Chatter components.

Chatter: Displays Chatter publishers and Chatter feeds

Chatter Publisher: Displays actions such as New Task or Email

Chatter Feed: Displays Chatter feeds

*In order to display the Chatter Feed, "Enable Case Feed Actions and Feed Items" to be checked on from Setup > Feature Settings > Service > Support Settings.

 

Place the Chatter Publisher component here.

 

The Send Email, Post, and New Task tabs will appear.

 

Clicking the "Write an email" or "Compose" button on the Send Email tab, the email composer screen will appear.

 

Email Composer Screen

 

Post tab

 

New Task tab

 

Sent and received e-mails are displayed in the Email related list.

 

 

Note

Actions are global actions and actions for each object. Global actions are selectable in the page layout for all objects.

Global actions are set from Setup > User Interface > Global Actions > Global Actions.

 

Layout Edit Screen

 

 

 

 

 

Copied title and URL