Einstein Activity Capture quietly fills your sandboxes with real email subject lines, real attendee lists, and real customer correspondence, and most masking policies never touch it. Admins lock down Contact and Lead fields, run their masking job, and call the refresh clean. Meanwhile every EmailMessage and Event record synced through EAC still carries live addresses and unredacted message content into the lower environment.

This isn't a theoretical gap. EAC was built to reduce manual logging friction for sales reps, and it does that well. But the convenience comes from automatically capturing email and calendar activity between reps and prospects, then writing that content into Salesforce as queryable records. Those records follow the same sandbox copy mechanics as everything else in your org, which means they follow your refresh schedule whether your masking tool accounts for them or not.

What Einstein Activity Capture actually stores

EAC connects to a user's Gmail or Outlook inbox and calendar, then surfaces that activity inside Salesforce through the Activity Timeline. When a rep enables "Add Activity to Salesforce" or activities auto-log based on matching rules, EAC writes standard EmailMessage and Event records tied to the related Contact, Lead, or Opportunity.

Those records aren't placeholders. The Subject field on an Event might read "Contract renewal call with Sarah Chen, DOB verification needed." An EmailMessage's HtmlBody can contain a pasted screenshot reference, a phone number, or a line about a customer's health plan. FromAddress, ToAddress, and CcAddress fields hold real external email addresses, often belonging to people who never consented to appear in a test environment.

None of this is hidden exactly, but it's easy to overlook because EAC data doesn't live where admins expect PII to live. Everyone remembers to mask Contact.Email. Far fewer people think to check EmailMessage.TextBody.

Why standard masking tools skip it

Most masking configurations are built object-first, starting with the objects everyone names when asked where PII lives: Contact, Lead, Account, Case. EmailMessage and Event rarely make that initial list because they read as system or activity objects rather than customer records.

There's also a technical wrinkle. Some EAC-related data, particularly configuration details about connected inboxes and sync settings, sits outside the standard sObject model entirely and isn't reachable through the same masking approach you'd use for a custom field. But the EmailMessage and Event records themselves are ordinary sObjects, fully queryable, fully copyable on refresh, and fully missed if your masking rules were scoped before EAC was turned on.

I've seen masking policies that were accurate the day they were written and wrong eighteen months later, purely because EAC got enabled for a new sales team in between. Nobody updated the masking scope because nobody connected "we turned on activity sync" with "we need to mask two more objects."

The compliance exposure this creates

Under GDPR, an email body containing a customer's name, health reference, or financial detail is personal data regardless of which object it sits on. Article 5's data minimization principle doesn't carve out exceptions for fields that happen to be hard to find. If a sandbox environment has broader access, weaker logging, and looser retention than production, copying real email content into it increases exposure rather than containing it.

Consider a realistic case: a sales rep's calendar event for a renewal call includes the customer's full name, account number, and a note about a billing dispute in the description field. That event gets synced via EAC, then copied into a full sandbox used by three outside consultants and a QA contractor. None of those people had any business reason to see that billing dispute. That's the exposure a regulator or auditor will ask about, and "our masking tool doesn't cover activity objects" is not a satisfying answer in a DPIA review.

The table below shows where this typically breaks down against a standard masking checklist.

Masking checklist itemTypical coverageEAC reality
Contact/Lead email fieldsMaskedMasked
Account billing addressMaskedMasked
EmailMessage.FromAddress/ToAddressUsually untouchedReal external emails copied
Event.Description/SubjectUsually untouchedReal meeting notes copied
EmailMessage.HtmlBody/TextBodyRarely scopedFull message content copied

How to find EAC data before a refresh

Start by checking whether Einstein Activity Capture is actually enabled in your org under Setup, since it's often turned on by a sales ops admin without IT or compliance ever being looped in. If it's active, note which users and profiles have it enabled and which objects are configured to log activity.

Next, query EmailMessage and Event record counts in your production org, filtered to records created through activity sync rather than manual logging. A high volume tells you the gap isn't an edge case, it's a daily occurrence that compounds with every sales call and follow-up email your reps send.

It's also worth pulling a sample of actual Subject and Description field values from a handful of records. Reading ten real examples does more to convince a security team than any policy document. Most admins who do this exercise are surprised by how much unstructured detail ends up in a field nobody designed to hold sensitive data.

Building EAC into your masking policy

Treat EmailMessage and Event as first-class masking targets, not afterthoughts. At minimum, mask FromAddress, ToAddress, CcAddress, BccAddress, Subject, TextBody, and HtmlBody on EmailMessage, and mask Subject, Description, and Location on Event.

Masking free-text subject lines and bodies is harder than masking a structured email field, because you can't just swap in a fake address, you need to replace unstructured content without breaking the record's referential value for testing. A reasonable approach is template-based replacement: generate realistic but fake subject lines and body text that preserve length and format, rather than blanking fields entirely, which breaks UI testing and report layouts that depend on populated fields.

Referential consistency matters here too. If an Event is linked to a Contact whose name gets masked, the Event's Subject and Description should reflect the masked name, not the real one, otherwise you've created a mismatch that defeats the purpose of masking in the first place.

Where MaskEzee fits

MaskEzee scopes EAC-related objects into the masking policy by default rather than leaving admins to discover the gap on their own. EmailMessage and Event fields get flagged during the initial data assessment, alongside the standard Contact, Lead, and Account objects, so the policy reflects what's actually synced into the org, not just what was true before activity capture was switched on.

The masking runs before every sandbox refresh, replacing real addresses and message content with realistic fake values that keep records linked to their masked parent Contact or Lead. That keeps sandboxes usable for QA and training without leaving real customer correspondence sitting in an environment with wider, less controlled access than production.

Frequently Asked Questions

Does Einstein Activity Capture store data inside the Salesforce database?

Some EAC configuration and sync metadata lives outside the standard object model in Salesforce's own infrastructure. However, when a user logs an email or calendar event to Salesforce through EAC, it creates standard EmailMessage or Event records, and those records are stored in the org database like any other sObject. That means they get copied into sandboxes during a refresh just like Contact or Opportunity records do.

Why don't most sandbox masking tools cover EmailMessage and Event records?

Masking policies are usually scoped around the objects admins think of first, such as Contact, Lead, and Account. EmailMessage and Event read as activity or system objects rather than obvious PII containers, so they often get left out of the initial scoping exercise. Once Einstein Activity Capture is enabled and starts populating these objects at volume, the gap becomes a real exposure rather than a minor oversight.

What kind of PII typically shows up in EAC-synced records?

Real external email addresses appear in FromAddress, ToAddress, and CcAddress fields on EmailMessage. Subject lines and descriptions on Event records frequently contain customer names, account details, or references to sensitive topics like billing disputes or medical appointments. Message bodies can include far more unstructured detail than a structured Contact field ever would.

Can you just exclude EmailMessage and Event from the sandbox copy instead of masking them?

You can configure some sandbox templates to exclude certain data, but doing so often breaks testing scenarios that rely on activity history, such as QA for Activity Timeline components or reports built on activity data. Masking the content while preserving the records keeps those test scenarios functional without exposing real customer correspondence.

How do we check if Einstein Activity Capture is even enabled in our org?

Go to Setup and search for Einstein Activity Capture to see configuration status, connected inbox settings, and which user profiles have sync enabled. It's worth doing this check even if you didn't set up EAC yourself, since sales operations teams sometimes enable it independently of the admins managing sandbox masking policy.