Skip to content

Function to trash a given thread by id. This can be undone by gm_untrash_thread().

Usage

gm_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.

Examples

if (FALSE) {
gm_trash_thread(12345)
}