{"id":21169046,"url":"https://github.com/cosmicjs/webhook-email-function","last_synced_at":"2026-05-17T13:36:59.065Z","repository":{"id":77502912,"uuid":"149893140","full_name":"cosmicjs/webhook-email-function","owner":"cosmicjs","description":"Sends emails via Webhook when changes are made in your Cosmic JS Bucket","archived":false,"fork":false,"pushed_at":"2018-09-22T16:29:27.000Z","size":23,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-21T10:32:02.211Z","etag":null,"topics":["javascript","nodejs","serverless","webhooks"],"latest_commit_sha":null,"homepage":"https://cosmicjs.com/docs/functions","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/cosmicjs.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":"2018-09-22T16:07:57.000Z","updated_at":"2018-09-22T16:37:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"9e9013d7-2fbb-461b-811f-85aa04c91ba8","html_url":"https://github.com/cosmicjs/webhook-email-function","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/cosmicjs%2Fwebhook-email-function","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmicjs%2Fwebhook-email-function/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmicjs%2Fwebhook-email-function/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmicjs%2Fwebhook-email-function/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cosmicjs","download_url":"https://codeload.github.com/cosmicjs/webhook-email-function/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243615565,"owners_count":20319733,"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":["javascript","nodejs","serverless","webhooks"],"created_at":"2024-11-20T15:22:19.551Z","updated_at":"2026-05-17T13:36:59.033Z","avatar_url":"https://github.com/cosmicjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Webhook Email Function\n\u003cimg src=\"https://cosmic-s3.imgix.net/ed58d700-7b2c-11e8-9d6b-252d8b978aea-SendGrid-Logo.png?w=1000\" width=\"300\" /\u003e\n\n### Installation\n1. [Login to Cosmic JS](https://cosmicjs.com) and go to Your Bucket \u003e Settings \u003e Functions\n2. Add this GitHub repo and click \"Install Function\"\n![Install Function](https://cosmic-s3.imgix.net/5712f1e0-be84-11e8-9e2d-15855cb44a12-Screen%20Shot%202018-09-22%20at%2011.25.44%20AM.png)\n\n3. Add your AWS credentials, SENDGRID_API_KEY, TO, and FROM environment variables.\n![Add Environment Variables](https://cosmic-s3.imgix.net/570891a0-be84-11e8-a68f-791787ea22ca-Screen%20Shot%202018-09-22%20at%2011.11.01%20AM.png)\n\n4. Deploy the function and get your endpoint.\n5. Add your POST endpoint to your webhooks area to Your Bucket \u003e Settings \u003e Webhooks. This webhook can send an email whenever content is added, edited or deleted (your preference).\n![Webhooks](https://cosmic-s3.imgix.net/8ba3abc0-be84-11e8-9e2d-15855cb44a12-Screen%20Shot%202018-09-22%20at%2011.28.16%20AM.png)\n\n### Maintainence\nThat's it! No managing or maintaining a server, just code and deploy!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosmicjs%2Fwebhook-email-function","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcosmicjs%2Fwebhook-email-function","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosmicjs%2Fwebhook-email-function/lists"}