-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: specify email(s) from contact record to use for sync #5
Comments
Sorry, I am now seeing the code is there to prefer an address with location type of "Google"! This goes a long way to solving the issue, which is great. I didn't see this feature in the documentation anywhere though ─ could it be added? I see two outstanding use cases:
Wonder if development to address these would be of interest to others? |
Information about "Google" location type has been added to the documentation. If you see any other improvements to doc, please feel free to PR. Rest of the points i see as feature request , and let others discuss / weigh-in. |
I would say that adding a hook that can be used to "obtain" the email address to use would be the most extensible. That way, people could just implement the hook to retrieve the email address using any rules they want. For those that don't want to do any coding, people could provide extensions with some common implementations to choose from as well. |
I was under the impression things worked differently. Therefor with searchkit I created smartgroups that search for emails with a specific location_type_id. The smartgroup is for the entity email so I thought if I would sync those groups the searched for email would sync. But it seems that this extension looks at the contact for that email and selects another email (primary or Google) A easy and end-user friendly suggestion I think would be to include the location type as a selector in the sync configuration screen of the group. A list of available location types could be shown. Plus 'Primary' to let the be the one." Mock up: |
Hi,
We have issues where contacts have one email they use day-to-day as their primary email, and a secondary email registered for Google Account. We would like to keep their main email for their primary email for CiviCRM, whilst syncing their "Google" email to GoogleGroups for access control to Google Groups Web UI etc.
I see this working similar to the "bulk email" checkbox feature for CiviMail.
Considerations:
In some cases you might want to sync both addresses to the GG: the primary for receiving emails from the GG and the Google Account for access control. The "bulk email" model as above would work for this.
Sometimes you can tell an email would be good to sync to GG because it is a @gmail address, but with GSuite accounts they may have a custom domain. Could be cool to have some some automatic selection logic on the basis of spotting @gmail accounts though?
The text was updated successfully, but these errors were encountered: