Function to retrieve a given message by id

message(id, user_id = "me", format = c("full", "metadata", "minimal",
  "raw"))

Arguments

id

message id to access

user_id

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

format

format of the message returned

References

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

See also

Examples

# NOT RUN {
my_message = message(12345)
# }