top of page

Consolidated Email Display LWC (emailMessagePlusArchive)

A unified, interruption‑free email history experience for Case agents.

The Consolidated Email Display LWC blends all live EmailMessage records with all Archived Email Message records into a single, seamless component. This allows you to aggressively archive storage‑heavy email data without disrupting agent workflows or cluttering the Case layout with multiple related lists.

Once added to the Case Lightning page, the component automatically retrieves and merges:

  • Standard EmailMessage records

  • Archived email records stored in EmailScrubber__Redundant_EmailMessage_History__c

Agents see one unified timeline — no switching, no confusion, no loss of context.

image.png

Drill-Down Email Viewer

Users can expand any email to view full details, including:

- The Email BosMessage bodyParticipantsThreading contextAttachmentsArchive metadata (if applicable)This preserves the familiar Salesforce email experience while adding deeper visibility into archived data.

image.png

Flexible Configuration Options

From the component’s Page Settings, admins can configure a variety of options. These controls allow you to tune the component as needed for internal agents, community users, or high‑volume Case teams.

image.png

Configurable Details Tabs

The component supports multiple optional detail panels, allowing you to tailor the view to your org’s needs:

Email Headers (Configurable Details Tab)

Display SMTP‑level header data for troubleshooting, compliance, or forensic review.

image.png

Archive MetaData (Configurable Details Tab)

Show archive‑specific fields such as:

  • Archive timestamp

  • Archive reason

  • Storage metrics

  • Original EmailMessage identifiers

image.png

Email Legitimacy (Configurable Details Tab)

This tab offers a lightweight, at‑a‑glance legitimacy snapshot. It is not intended to replace enterprise‑grade threat analysis or deep forensic review. Instead, it fills the gap between “this seems strange” and “I need a full investigation.”

image.png

Permissions

To ensure users can access all features of the Consolidated Email View LWC, make sure the Consolidated Email View LWC permission set is assigned to the appropriate profiles or permission set groups. This permission set grants the underlying Apex class access, field‑level visibility, and component‑level permissions required for the LWC to function correctly.

Assign it to:

  • Internal agents who need to view live + archived email data

  • Admins configuring the component

  • Experience Cloud users (if the component is exposed externally)

Without this permission set, users may see partial data, missing tabs, or a blank component.

bottom of page