Send a single thread to the trash
Function to trash a given thread by id. This can be undone by gm_untrash_thread()
.
gm_trash_thread(id, user_id = "me")
id
: thread id to accessuser_id
: gmail user_id to access, special value of 'me' indicates the authenticated user.## Not run: gm_trash_thread(12345) ## End(Not run)
https://developers.google.com/gmail/api/reference/rest/v1/users.threads/trash
Other thread: gm_delete_thread()
, gm_modify_thread()
, gm_threads()
, gm_thread()
, gm_untrash_thread()
Useful links