{"id":28470194,"url":"https://github.com/arunnpuram/gmail-delegate-manager","last_synced_at":"2026-05-16T15:34:16.475Z","repository":{"id":255599393,"uuid":"852548105","full_name":"Arunnpuram/Gmail-Delegate-Manager","owner":"Arunnpuram","description":"A self hosting Web App that helps you manages Gmail delegates using a service account with domain-wide delegation, enabling easy addition or removal of delegate access to Gmail inboxes via the Google API.","archived":false,"fork":false,"pushed_at":"2026-02-26T16:51:29.000Z","size":1478,"stargazers_count":0,"open_issues_count":19,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-04T10:41:56.076Z","etag":null,"topics":["chakra-ui","gmail","nextjs","node","react","typescript"],"latest_commit_sha":null,"homepage":"","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/Arunnpuram.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-09-05T02:02:35.000Z","updated_at":"2025-08-12T06:07:09.000Z","dependencies_parsed_at":"2025-12-07T03:10:25.839Z","dependency_job_id":null,"html_url":"https://github.com/Arunnpuram/Gmail-Delegate-Manager","commit_stats":null,"previous_names":["arunnpuram/accountsdelegationprocess"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Arunnpuram/Gmail-Delegate-Manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arunnpuram%2FGmail-Delegate-Manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arunnpuram%2FGmail-Delegate-Manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arunnpuram%2FGmail-Delegate-Manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arunnpuram%2FGmail-Delegate-Manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Arunnpuram","download_url":"https://codeload.github.com/Arunnpuram/Gmail-Delegate-Manager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arunnpuram%2FGmail-Delegate-Manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33108186,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["chakra-ui","gmail","nextjs","node","react","typescript"],"created_at":"2025-06-07T09:10:14.352Z","updated_at":"2026-05-16T15:34:16.442Z","avatar_url":"https://github.com/Arunnpuram.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"A self-hosted web application for easily managing Gmail delegation access for your organization.\n\n## Features\n\n- Add delegate access to shared mailboxes\n- Remove delegate access from shared mailboxes\n- List all delegates for a mailbox\n- Batch operations for multiple mailboxes and delegates\n- Secure handling of Google service account credentials\n- OAuth 2.0 or Service Account authentication options\n- Completely self-hosted - no external dependencies\n\n## How It Works\n\nGmail Delegate Manager provides a modern web interface for the Gmail delegation management scripts. The core functionality is implemented in:\n\n- `createDelegate.ts` - Script to add delegate access to Gmail accounts\n- `deleteDelegate.ts` - Script to remove delegate access from Gmail accounts\n\nThe web interface in this repository provides a user-friendly way to use these scripts, with additional features like batch processing and a responsive UI.\n\n\u003cimg src=\"public/Add Delegate.png\" alt=\"Add Delegate\" width=\"300\"/\u003e\n\u003cimg src=\"public/List Delegate.png\" alt=\"List Delegate\" width=\"300\"/\u003e\n\n\n\n## Prerequisites\n\n1. Node.js (v18 or higher)\n2. A Google Cloud project with the Gmail API enabled\n3. A service account with domain-wide delegation configured (or OAuth 2.0 credentials)\n\n## Setup\n\n### 1. Create a Google Cloud Project and Service Account\n\n1. Go to the [Google Cloud Console](https://console.cloud.google.com/)\n2. Create a new project or select an existing one\n3. Enable the Gmail API for your project:\n   - Go to \"APIs \u0026 Services\" \u003e \"Library\"\n   - Search for \"Gmail API\" and enable it\n4. Create a service account:\n   - Go to \"IAM \u0026 Admin\" \u003e \"Service Accounts\"\n   - Click \"Create Service Account\"\n   - Give it a name and description\n   - Grant necessary roles (no specific roles needed for domain-wide delegation)\n   - Create and download the JSON key file\n\n### 2. Configure Domain-Wide Delegation\n\n1. Go to your Google Workspace Admin Console\n2. Navigate to Security \u003e API Controls \u003e Domain-wide Delegation\n3. Click \"Add new\" and enter:\n   - Client ID: Your service account's client ID (found in the JSON key file)\n   - OAuth Scopes: \n   \n     https://www.googleapis.com/auth/gmail.settings.sharing,\n     https://www.googleapis.com/auth/gmail.settings.basic,\n     https://www.googleapis.com/auth/gmail.modify\n    \n### 3. Install and Run the Application\n\n#### Local Development\n\n# Clone the repository\ngit clone https://github.com/Arunnpuram/Gmail-Delegate-Manager.git\n\ncd Gmail-Delegate-Manager\n\n# Install dependencies\nnpm install\n\n# Run in development mode\nnpm run dev\n\n#### Production Deployment\n\n1. Clone the repository\n2. Install dependencies: `npm install`\n3. Build the application: `npm build`\n4. Start the server: `npm start`\n5. Access the application at http://localhost:3000\n\n### Docker Deployment\n\n1. Clone the repository\n2. Build the Docker image: `docker build -t delegateease .`\n3. Run the container: `docker run -p 3000:3000 delegateease`\n4. Access the application at http://localhost:3000\n\n### Docker Compose Deployment\n\n1. Clone the repository\n2. Run: `docker-compose up -d`\n3. Access the application at http://localhost:3000\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farunnpuram%2Fgmail-delegate-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farunnpuram%2Fgmail-delegate-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farunnpuram%2Fgmail-delegate-manager/lists"}