To use the code
- Open https://script.google.com/
- Create a new project
- Replace the code in code.gs in the project with the code in code.gs of this repository
- Run the code. It may ask you to Authenticate using the Google account for which you want the labels to be renamed
- Once authenticated, the code will run for some time and the logs can be viewed in the terminal below
- Once the code finishes running, stats of total labels changed is displayed
- Check for the changes by logging into your Gmail account