powered by
Get a list of drafts possibly matching a given query string.
drafts(num_results = NULL, page_token = NULL, user_id = "me")
the number of results to return.
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/v1/reference/users/drafts/list
Other draft: draft, send_draft
draft
send_draft
# NOT RUN { my_drafts = drafts() first_10_drafts = drafts(10) # }
Run the code above in your browser using DataLab