This vocab implements an api to GMail based on oauth2.

To use the vocab, it first needs to be supplied the 'Client ID' and 'Client secret settings' using the configure-oauth2 vord:

"client-id" "client-secret" configure-oauth2

The settings can be found on Google's developer console at Then the authenticated users labels can be listed using:


Or to list the first message in the users inbox:
"INBOX" list-messages-by-label "messages" of
first "id" of { } get-messages