{"id":15599237,"url":"https://github.com/examosa/gmail-scripts","last_synced_at":"2026-05-02T09:35:41.822Z","repository":{"id":143909640,"uuid":"334302516","full_name":"examosa/Gmail-Scripts","owner":"examosa","description":"Google Apps Scripts for Gmail automation","archived":false,"fork":false,"pushed_at":"2022-08-03T16:58:32.000Z","size":213,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-28T11:45:58.187Z","etag":null,"topics":["apps-script","gmail"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/examosa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-30T01:25:49.000Z","updated_at":"2023-09-20T16:44:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"506d0050-dea2-4aff-b599-82dd6fb3fccd","html_url":"https://github.com/examosa/Gmail-Scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/examosa%2FGmail-Scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/examosa%2FGmail-Scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/examosa%2FGmail-Scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/examosa%2FGmail-Scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/examosa","download_url":"https://codeload.github.com/examosa/Gmail-Scripts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245056906,"owners_count":20553856,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apps-script","gmail"],"created_at":"2024-10-03T01:51:52.417Z","updated_at":"2026-05-02T09:35:41.757Z","avatar_url":"https://github.com/examosa.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gmail Scripts\n\n[![clasp](https://img.shields.io/badge/built%20with-clasp-4285f4.svg)](https://github.com/google/clasp)\n\nThese are just some basic automated tasks created using [Google Apps Script (GAS)](https://www.google.com/script/start/). They are described below.\n\n## Functions\n\n### Delete Old Labels\n\nI use labels to hang on to emails that I could need again in the immediate future. After months, however, I usually don't still need them. This function deletes emails by label older than a certain threshold (for my use case: 90 days).\n\n### Mark Deleted As Read\n\nSometimes I delete emails without opening them (you know the type). I run this function periodically to mark all unread deleted emails as read.\n\n## Building\n\nRun `npm run build`. 'Course, all this does right now is copy `main.js` and `appsscript.json` into the `dist/` folder. Haven't yet figured out a satisfactory way to bundle the source code for GAS, but am open to suggestions.\n\n## Testing\n\nRun `npm test`. Note that you will need to uncomment the export at the end of `main.js` for the tests to run properly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexamosa%2Fgmail-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexamosa%2Fgmail-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexamosa%2Fgmail-scripts/lists"}