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

gm_delete_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/delete

See also

Examples

# NOT RUN {
delete_thread(12345)
# }