trash_thread {gmailr}R Documentation

Send a single thread to the trash

Description

Function to trash a given thread by id. This can be undone by untrash_thread.

Usage

trash_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/threads/trash

See Also

Other thread: delete_thread, modify_thread, threads, thread, untrash_thread

Examples

## Not run: 
trash_thread(12345)

## End(Not run)

[Package gmailr version 0.7.1 Index]