powered by
Function to untrash a given thread by id. This can reverse the results of a previous trash_thread().
trash_thread()
gm_untrash_thread(id, user_id = "me")
thread id to access
gmail user_id to access, special value of 'me' indicates the authenticated user.
https://developers.google.com/gmail/api/reference/rest/v1/users.threads/untrash
Other thread: gm_delete_thread(), gm_modify_thread(), gm_threads(), gm_thread(), gm_trash_thread()
gm_delete_thread()
gm_modify_thread()
gm_threads()
gm_thread()
gm_trash_thread()
if (FALSE) { untrash_thread(12345) }
Run the code above in your browser using DataLab