Learn R Programming

gmailr (version 0.5.0)

thread: Get a single thread

Description

Function to retrieve a given thread by id

Usage

thread(id, user_id = "me")

Arguments

id
thread id to access
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/thread

Examples

Run this code
my_thread = thread(12345)

Run the code above in your browser using DataLab