powered by
Function to retrieve a given draft by <-
draft(id, user_id = "me", format = c("full", "minimal", "raw"))
draft id to access
gmail user_id to access, special value of 'me' indicates the authenticated user.
format of the draft returned
https://developers.google.com/gmail/api/v1/reference/users/drafts/get
Other draft: drafts, send_draft
drafts
send_draft
# NOT RUN { my_draft = draft('12345') # }
Run the code above in your browser using DataLab