gm_labels {gmailr}R 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)

[Package gmailr version 2.0.0 Index]