Skip to content

Add PreserveEmailSenderRecipientParties org setting#160

Open
anladwig wants to merge 2 commits into
seanmcne:masterfrom
anladwig:anladwig/add-preserveemailsenderrecipientparties
Open

Add PreserveEmailSenderRecipientParties org setting#160
anladwig wants to merge 2 commits into
seanmcne:masterfrom
anladwig:anladwig/add-preserveemailsenderrecipientparties

Conversation

@anladwig

@anladwig anladwig commented Jun 25, 2026

Copy link
Copy Markdown

Adds the PreserveEmailSenderRecipientParties OrgDBOrgSetting to the editor's settings list.

What it is

  • Type: Boolean, Default: false

Behavior
When enabled (true), the original sender / To / Cc / Bcc activity-party data (AddressUsed, PartyIdName) on existing email activities is preserved when a party record's (contact, systemuser, queue, etc.) email address or name is later changed. By default the platform cascades the new address/name down to all activity parties — including those on historical emails — which retroactively changes the recorded recipients on old emails.

Notes

  • Not retroactive: only affects address/name changes made after the setting is enabled.
  • Also gated by the platform flag AllowPreserveEmailSenderRecipientParties (true by default).

Settings.xml validated as well-formed after the addition.

Adds the PreserveEmailSenderRecipientParties OrgDBOrgSetting (Boolean,
default false). When enabled, the original sender/To/Cc/Bcc activity-party
data on existing emails is preserved when a party record's email address or
name is later changed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@anladwig
anladwig force-pushed the anladwig/add-preserveemailsenderrecipientparties branch from f81cbea to fffc96e Compare June 25, 2026 17:52
…062.11000

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants