{"id":21107324,"url":"https://github.com/ninjascl/gmail-app-script","last_synced_at":"2026-04-27T17:05:35.666Z","repository":{"id":119741272,"uuid":"280255576","full_name":"NinjasCL/gmail-app-script","owner":"NinjasCL","description":"A simple script to fetch gmail emails and send them to an external server using Google Apps Script","archived":false,"fork":false,"pushed_at":"2020-07-16T21:37:32.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-14T09:21:28.224Z","etag":null,"topics":["fastify","gmail","google-apps-script","javascript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NinjasCL.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-07-16T20:50:44.000Z","updated_at":"2020-07-16T21:44:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"f72feb1c-c0b7-494f-a38a-f4c822769f38","html_url":"https://github.com/NinjasCL/gmail-app-script","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NinjasCL/gmail-app-script","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NinjasCL%2Fgmail-app-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NinjasCL%2Fgmail-app-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NinjasCL%2Fgmail-app-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NinjasCL%2Fgmail-app-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NinjasCL","download_url":"https://codeload.github.com/NinjasCL/gmail-app-script/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NinjasCL%2Fgmail-app-script/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32345900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["fastify","gmail","google-apps-script","javascript"],"created_at":"2024-11-20T00:38:38.457Z","updated_at":"2026-04-27T17:05:35.642Z","avatar_url":"https://github.com/NinjasCL.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gmail Google Apps Script\n\nimage:https://img.shields.io/badge/Ninjas-CL-green.svg?style=flat-square[Ninjas.cl]\nimage:https://img.shields.io/github/license/ninjascl/gmail-app-script.svg[MIT]\n\n## 🚀 Environment setup\n\n### Requirements\n\n- https://script.google.com/home[Google Apps Script]\n\n### Installation\n\n. Create a new project in _Google Apps Script_.\n. Upload the code inside _action.gs.js_.\n. Enable https://developers.google.com/apps-script/guides/services/advanced#enabling_advanced_services[Advanced Services].\n. Configure _token_, _label_ and _endpoint_ constants.\n. Ensure that some emails have the _label_ and are unread.\n. Save and run (Need to give permissions first).\n\n### Example server\n\nAnd example server made with https://www.fastify.io/[Fastify] was made\nto demostrate usage. Ensure to configurate the project's tokens and endpoints.\n\nUse `make install` and `make serve` to run.\n\n## 🤔 Project explanation\n\nThis is an small proof of concept. A simple gmail script that will fetch\nunread emails with a specific label. Then sent them to an specific server endpoint\nwhere you can process them further or save them to a database or another\nplace.\n\n++++\nMade with \u003ci class=\"fa fa-heart\"\u003e\u0026#9829;\u003c/i\u003e by \u003ca href=\"https://ninjas.cl\" target=\"_blank\"\u003eNinjas.cl\u003c/a\u003e.\n++++\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fninjascl%2Fgmail-app-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fninjascl%2Fgmail-app-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fninjascl%2Fgmail-app-script/lists"}