Learn R Programming

gmailr (version 1.0.1)

gm_labels: 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

Run this code
if (FALSE) {
my_labels = gm_labels()
}

Run the code above in your browser using DataLab