Understanding how Gmail and Google Calendar are integrated