title: Java Google Calendar API: Send email notification when creating event
body: <p>I am using java google calendar API. Whenever I create a new event <strong>I would like to send an email notification to all attendees</strong>. </p>
  
  <p><em>I guess/expect there are 2 ways how to achieve that:</em></p>
  
  <ol>
  <li>Set it as the calendar property </li>
  <li>Set it ad hoc as property on the created event</li>
  </ol>
  
  <p>I don't care which of these options I use but I don't know how to do it programmatically and <strong>I am struggling to find any example of the code.</strong> </p>