Last chance! 50% off unlimited learning
Sale ends in
powered by
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" )
the point to start the history. The historyId can be obtained from a message, thread or previous list response.
the number of results to return, max per page is 100
filter history only for this label
retrieve a specific page of results
gmail user_id to access, special value of 'me' indicates the authenticated user.
https://developers.google.com/gmail/api/reference/rest/v1/users.history/list
if (FALSE) { my_history = history("10") }
Run the code above in your browser using DataLab