Skip to content

Function to trash a given message by id. This can be undone by gm_untrash_message().

Usage

gm_trash_message(id, user_id = "me")

Arguments

id

message id to access

user_id

gmail user_id to access, special value of 'me' indicates the authenticated user.

Examples

if (FALSE) {
gm_trash_message("12345")
}