{"id":19690231,"url":"https://github.com/sugamkuber/auto-mailer","last_synced_at":"2026-04-19T05:32:52.226Z","repository":{"id":246234125,"uuid":"820350927","full_name":"SugamKuber/auto-mailer","owner":"SugamKuber","description":"Mailing Automation Task with google oauth \u0026 open ai","archived":false,"fork":false,"pushed_at":"2024-06-26T14:17:52.000Z","size":77,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-11T19:04:55.031Z","etag":null,"topics":["automation","frontend","gmail-api","google-cloud","openapi"],"latest_commit_sha":null,"homepage":"https://auto-mailer.vercel.app","language":"TypeScript","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/SugamKuber.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":"2024-06-26T09:46:42.000Z","updated_at":"2024-10-22T05:23:53.000Z","dependencies_parsed_at":"2024-06-26T18:59:37.303Z","dependency_job_id":null,"html_url":"https://github.com/SugamKuber/auto-mailer","commit_stats":null,"previous_names":["sugamkuber/auto-mailer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SugamKuber%2Fauto-mailer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SugamKuber%2Fauto-mailer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SugamKuber%2Fauto-mailer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SugamKuber%2Fauto-mailer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SugamKuber","download_url":"https://codeload.github.com/SugamKuber/auto-mailer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233318141,"owners_count":18657829,"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":["automation","frontend","gmail-api","google-cloud","openapi"],"created_at":"2024-11-11T19:04:56.358Z","updated_at":"2025-10-26T05:03:52.795Z","avatar_url":"https://github.com/SugamKuber.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Auto Mailer\n\n## Backend setups\n\n- Step 1 : Provide all the required creds in backend root/.env\n\n```\nGOOGLE_CLIENT_ID=\nGOOGLE_CLIENT_SECRET=\nGOOGLE_CALLBACK=\n\nFONTEND_REDIRECT=\n\nMONGO_URI=\n```\n- Step 2 :\n```\nnpm i\nnpm run dev (for development server)\nnpm run build (to build with tsc)\nnpm run start (to start with build dir)\n```\n\n## Frontend setup\n\n- Step 1 : Provide BACKEND_URL = \" \"  in /check.js file \u0026\u0026 /googlebutton.js file\n- Step 2 : \n```\nnpm i\nnpm run dev (for development server)\nnpm run build (to build with vite)\nnpm run preview (to run with vite build)\n```\n## Open API function\n- OpenAPI function isnt impelmented due to its pricing  \n- However it can be implemented in line 77 Backend/src/jobs/emailProcess.ts\n \n## Creds on Google\n- Use [google console](https://console.cloud.google.com/) \u003e\u003e Api \u0026 Services ( Create a project is you dont have) \u003e\u003e Sidebar Oauth Consent Screen \u003e\u003e Credentials \u003e\u003e Create and copy the creds\n- [IMP] Input your gmail for test account\n- [IMP] Input you domains/urls for redirection\n\n## Improvements\n- Implementation expiry for tokens on redis caching \n- Better monitoring for email job\n- Implementation of bullMQ queues if needed for generation of openAPI mail replies\n- Proper Frontend setup \n- Other imp features\n\n### Reminder\nThis app is only focused on backend\n\n## Database setup\n- Use mongo cloud or any mongo database url\n- Remember to input the right username/password with network \u0026 access permissions\n\n## Links\nBackend Link: https://auto-mailer-server.up.railway.app/\nFrontend Link: http://auto-mailer.vercel.app/\nGithub Link: https://github.com/SugamKuber/auto-mailer\n\n## How tos\n- Open frontend \u0026 Login with google button on home page\n- If successfull will be redirected for [check page](https://auto-mailer.vercel.app/check) here enter your email and check\n- To check if your auto mailing is active, input your email in the same page, it will show the status\n- If expired, log in again from home page \n- If failed, check all your config \u0026 permissions \n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsugamkuber%2Fauto-mailer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsugamkuber%2Fauto-mailer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsugamkuber%2Fauto-mailer/lists"}