GioBonvi / GoogleContactsEventsNotifier

Receive automatic email notifications before your Google Contacts birthday and other events!
MIT License
219 stars 50 forks source link

Google Contacts Custom Fields #20

Closed shikx closed 7 years ago

shikx commented 7 years ago

Hi guys,

Just wondering what/where I have to insert in order to add a line of info in the notification emails that would be pulled from a custom field in Google Contacts?

Bit of context: I'm setting up notifications for staff anniversaries and we give out a bottle of Red/White/Beers/Rose - I'd like to add a custom field in Google Contacts that specifies this, and for the email notification to show it as well.

Thanks in advance! S

GioBonvi commented 7 years ago

Hello @shikx, what you ask for should be quite easy to obtain given the modular structure of the script. And I will galdly help you doing this.
I could try to explain it to you here, but there is an easier way:

This way you will reatin a copy of your customized code and it will be easier for me to explain what you need to do.

Feel free to reply to this post if you experience any problems or have any questions.

Best regards

shikx commented 7 years ago

Hi Giorgio,

Thanks for your reply! I will get the "fork" going and add you in.

Best

shikx commented 7 years ago

Hi Giorgio, I've now added you as a collaborator.

Here are some details of what I need - really appreciate all your help on this!!

  1. It's an Anniversary notifier - "Birthday" changed to "Anniversary" - Date is added as Anniversary in Google Contacts
  2. No need to show email/phone numbers on the notifications - just "Years of Service" to replace "Age" and "Gift Choice"
  3. Custom field name is "Gift Choice"
  4. Is it possible to set the notification email to come from " Anniversary Alert"? At the moment it's coming up as the pre @ part of the email address.

Thanks a mill!

Best, Shiki.

GioBonvi commented 7 years ago

Working on it right now.

I'm closing this issue and re-opening it on your project.

GioBonvi commented 7 years ago

I've noticed you have disabled the issue page on your project: could you enable it so that we can use it to communicate and solve problems which could arise?

Thank you

GioBonvi commented 7 years ago

I've pushed to your repository the modified code.

Can I ask you to rename your fork to something else (for example "Google Anniversary Notifier") so as not to create unnecessary confusion?

If you have any further question or problem please open an issue on your repository.

Thank you