Skip to content

Function to delete a given message by id. This cannot be undone!

Usage

gm_delete_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_delete_message("12345")
}