This Google App Script for removing older mails from Gmail.
- Remove mails that are matched
label:notification -is:starred -is:important older_than:730d
yarn install
Login with Google App Script
yarn clasp login
Create new App Script
yarn clasp create
Change rootDir
of .clasp.json
:
{
"scriptId": "<id>",
"rootDir": "build"
}
yarn run deploy
Run cleanupMail
function in Google App script.
See Releases page.
Install devDependencies and Run npm test
:
npm i -d && npm test
Pull requests and stars are always welcome.
For bugs and feature requests, please create an issue.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
MIT © azu