0
votes

I am creating and updating events using a service account and there appears to be an inconsistency between how notifications are handled depending on whether the attendee email is a primary or secondary calendar.

In the following example all calendars are set to receive invite and event change notifications by email.

  • Joe Smith has a primary calendar [email protected]
  • Sam Stove has a secondary calendar [email protected]
  • Event inserted with Joe and Sam as attendee's (sendNotifications => false).

Joe does not receive a notification (as intended), Sam does. To reiterate Joe and Sam have identical notification settings on their calendars. With sendNotifications => true both receive a notification (as expected).

I am using the PHP API client 2.1 but I tried with 1.x as well and the outcome is the same. Since sendNotifications is a simple GET parameter I tend to think this is an API issue rather than a client issue.

1

1 Answers

0
votes

As mentioned in Notifications,

To send email notifications to attendees for events that were inserted or updated via the API, set the sendNotifications parameter in the insert/update request to true.

And, do also note that:

For attendees with non-Google email addresses, these notification emails are the only way they can find out about the event: it won't be added to their calendars automatically.

This additional references might also help: