gm_history: Retrieve change history for the inbox

Description Usage Arguments References Examples

View source: R/history.R

Description

Retrieves the history results in chronological order

Usage

1
2
gm_history(start_history_id = NULL, num_results = NULL,
  label_id = NULL, page_token = NULL, user_id = "me")

Arguments

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 100

label_id

filter history only for this label

page_token

retrieve a specific page of results

user_id

gmail user_id to access, special value of 'me' indicates the authenticated user.

References

https://developers.google.com/gmail/api/v1/reference/users/history/list

Examples

1
2
3
4
## Not run: 
my_history = history("10")

## End(Not run)

gmailr documentation built on Aug. 23, 2019, 5:06 p.m.