Learn R Programming

gmailr (version 0.5.0)

send_draft: Send a draft

Description

Send a draft to the recipients in the To, CC, and Bcc headers.

Usage

send_draft(id, upload_type = c("media", "multipart", "resumable"),
  user_id = "me")

Arguments

id
the draft id to send
upload_type
type of upload request
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/drafts/send

Examples

Run this code
send_draft(12345)

Run the code above in your browser using DataLab