pub const SCOPES: &str = "openid email https://www.googleapis.com/auth/gmail.modify https://www.googleapis.com/auth/calendar.events https://www.googleapis.com/auth/calendar.freebusy";Expand description
The scopes pidge asks Google for, space separated.
openid email: the id token’semailclaim names the account.gmail.modify: read, label, archive, trash, draft and send. Never permanent deletion (that would need the fullmail.google.comscope).calendar.events: read and write events on the user’s calendars.calendar.freebusy:freeBusy.queryfor other people. It is the narrowest scope that endpoint accepts;calendar.readonlywould also work but grants reading every calendar’s details, which pidge never needs (it only uses theprimarycalendar, so nocalendarListread).