powered by
Function to retrieve a given message by id
message(id, user_id = "me", format = c("full", "metadata", "minimal", "raw"))
message id to access
gmail user_id to access, special value of 'me' indicates the authenticated user.
format of the message returned
https://developers.google.com/gmail/api/v1/reference/users/messages
Other message: attachment, delete_message, import_message, insert_message, messages, modify_message, save_attachments, save_attachment, send_message, trash_message, untrash_message
attachment
delete_message
import_message
insert_message
messages
modify_message
save_attachments
save_attachment
send_message
trash_message
untrash_message
# NOT RUN { my_message = message(12345) # }
Run the code above in your browser using DataLab