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

delete_label(id, user_id = "me")

Arguments

id

label id to retrieve

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

See also