Skip to content

tberta/gmail-delete-labels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

gmail-delete-labels

Google App Script to delete labels

  1. Import this script in GSuite Developer Hub

  2. Accept Gsuite Developper license

  3. Enable Gmail API

    When Editing Script, click on Resources Menu > Advanced Google Services

    Search for Gmail API and Enable it

  4. 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"

  5. Run deleteLabels() function

  6. See execution logs (CTRL+Enter)

About

Google App Script to delete labels

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published