Page MenuHomePhabricator

Handle merged contacts in e-mail preferences center
Open, Needs TriagePublic

Description

If two contacts have been merged, the links to the preferences center from e-mails sent to either of them should still work, and should update the appropriate record in the database.

Also, the e-mail preference queue consumer should properly handle the case of a contact having been merged with another one in the interval between when a message is placed on the queue and when it is consumed.

Event Timeline

There is an api that will get the mergedto contact (contact.getmergedto) - the hash might be a bit trickier though....

Many questions here about what happens when contacts share an email address, especially if a contact changes their email address in the email prefs centre:
How do we ensure that their most recent opt-in is respected in upcoming merges?
If they can change their email directly in donor portal, how or when would donors see updated donation data that includes those from other contacts who share the new email they have changed to?

See DR concerns on page 2 of this document.