Retrieve change history for the inbox
Retrieves the history results in chronological order
gm_history( start_history_id = NULL, num_results = NULL, label_id = NULL, page_token = NULL, user_id = "me" )
start_history_id
: the point to start the history. The historyId can be obtained from a message, thread or previous list response.num_results
: the number of results to return, max per page is 100label_id
: filter history only for this labelpage_token
: retrieve a specific page of resultsuser_id
: gmail user_id to access, special value of 'me' indicates the authenticated user.## Not run: my_history <- gm_history("10") ## End(Not run)
https://developers.google.com/gmail/api/reference/rest/v1/users.history/list
Useful links