Function to retrieve a given message by id

gm_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 = gm_message(12345)
# }