gm_labels: Get a list of all labels

View source: R/gm_label.R

gm_labelsR Documentation

Get a list of all labels

Description

Get a list of all labels for a user.

Usage

gm_labels(user_id = "me")

Arguments

user_id

gmail user_id to access, special value of 'me' indicates the authenticated user.

References

https://developers.google.com/gmail/api/reference/rest/v1/users.labels/list

See Also

Other label: gm_create_label(), gm_delete_label(), gm_label(), gm_update_label()

Examples

## Not run: 
my_labels <- gm_labels()

## End(Not run)

r-lib/gmailr documentation built on Nov. 5, 2023, 6:22 a.m.