powered by
Reveals information about the profile associated with the current token.
gm_profile(user_id = "me", verbose = TRUE)
A list of class gmail_profile.
gmail_profile
gmail user_id to access, special value of 'me' indicates the authenticated user.
Logical, indicating whether to print informative messages (default TRUE).
TRUE
Wraps the getProfile endpoint:
getProfile
https://developers.google.com/gmail/api/reference/rest/v1/users/getProfile
if (FALSE) { gm_profile() ## more info is returned than is printed prof <- gm_profile() prof[["historyId"]] }
Run the code above in your browser using DataLab