powered by
Get a list of all labels for a user.
gm_labels(user_id = "me")
gmail user_id to access, special value of 'me' indicates the authenticated user.
https://developers.google.com/gmail/api/reference/rest/v1/users.labels/list
Other label: gm_create_label(), gm_delete_label(), gm_label(), gm_update_label()
gm_create_label()
gm_delete_label()
gm_label()
gm_update_label()
if (FALSE) { my_labels = gm_labels() }
Run the code above in your browser using DataLab