Google App Script to delete labels
-
Import this script in GSuite Developer Hub
-
Accept Gsuite Developper license
-
Enable Gmail API
When Editing Script, click on Resources Menu > Advanced Google Services
Search for Gmail API and Enable it
-
Edit labelsToDeleteArray to match the label to delete (labels containing one of this substring will be deleted).
The string comparison is case-sensitive : "Later" != "LATER"
-
Run deleteLabels() function
-
See execution logs (CTRL+Enter)