gmailr (version 0.7.1)

untrash_thread: Remove a single thread from the trash.

Description

Function to untrash a given thread by id. This can reverse the results of a previous trash_thread.

Usage

untrash_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/untrash

See Also

Other thread: delete_thread, modify_thread, threads, thread, trash_thread

Examples

Run this code
# NOT RUN {
untrash_thread(12345)
# }

Run the code above in your browser using DataLab