{"id":21359662,"url":"https://github.com/suin/google-cloud-functions-email-router","last_synced_at":"2025-03-16T06:26:20.987Z","repository":{"id":38174492,"uuid":"282223231","full_name":"suin/google-cloud-functions-email-router","owner":"suin","description":"A Google Cloud Function that routes EmailData","archived":false,"fork":false,"pushed_at":"2023-01-06T12:20:56.000Z","size":3488,"stargazers_count":0,"open_issues_count":23,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T18:51:48.154Z","etag":null,"topics":["email-automation","google-cloud-function","google-cloud-pubsub"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/suin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-24T13:11:16.000Z","updated_at":"2020-07-29T11:44:52.000Z","dependencies_parsed_at":"2023-02-06T01:45:51.016Z","dependency_job_id":null,"html_url":"https://github.com/suin/google-cloud-functions-email-router","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suin%2Fgoogle-cloud-functions-email-router","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suin%2Fgoogle-cloud-functions-email-router/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suin%2Fgoogle-cloud-functions-email-router/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suin%2Fgoogle-cloud-functions-email-router/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suin","download_url":"https://codeload.github.com/suin/google-cloud-functions-email-router/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243835398,"owners_count":20355601,"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":["email-automation","google-cloud-function","google-cloud-pubsub"],"created_at":"2024-11-22T05:29:18.947Z","updated_at":"2025-03-16T06:26:20.967Z","avatar_url":"https://github.com/suin.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @suin/google-cloud-functions-email-router\n\n## Setting Up\n\n### Deploying The Stacks To Your GCP\n\n```bash\n./deploy.sh\n```\n\n## Test Drive\n\n```bash\n# Setting up\ngcloud pubsub topics create 'test%40example.com'\ngcloud pubsub subscriptions create --topic 'test%40example.com' testDrive\n\n# Test\ngcloud pubsub topics publish allEmail --message '{\"correlationId\":\"dummy\",\"data\":{\"to\":[{\"name\":\"\",\"address\":\"test@example.com\"}],\"cc\":[],\"replyTo\":[],\"subject\":\"Test\",\"from\":[]}}'\ngcloud pubsub subscriptions pull testDrive \\\n    --format=\"flattened(ackId,message.messageId,message.publishTime,message.attributes,message.data.decode(base64).encode(utf-8))\" \\\n    --limit=10 \\\n    --auto-ack\n\n# Cleaning up\ngcloud pubsub subscriptions delete testDrive\ngcloud pubsub topics delete 'test%40example.com'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuin%2Fgoogle-cloud-functions-email-router","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuin%2Fgoogle-cloud-functions-email-router","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuin%2Fgoogle-cloud-functions-email-router/lists"}