{"id":33510088,"url":"https://github.com/bennycode/gmail-email-purger","last_synced_at":"2026-03-06T10:30:47.737Z","repository":{"id":304995067,"uuid":"1021559642","full_name":"bennycode/gmail-email-purger","owner":"bennycode","description":"Python program to delete all emails from Google Mail.","archived":false,"fork":false,"pushed_at":"2025-07-17T15:53:26.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-17T18:03:20.871Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/bennycode.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}},"created_at":"2025-07-17T15:25:15.000Z","updated_at":"2025-07-17T15:53:29.000Z","dependencies_parsed_at":"2025-07-17T21:14:18.201Z","dependency_job_id":null,"html_url":"https://github.com/bennycode/gmail-email-purger","commit_stats":null,"previous_names":["bennycode/gmail-email-purger"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/bennycode/gmail-email-purger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bennycode%2Fgmail-email-purger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bennycode%2Fgmail-email-purger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bennycode%2Fgmail-email-purger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bennycode%2Fgmail-email-purger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bennycode","download_url":"https://codeload.github.com/bennycode/gmail-email-purger/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bennycode%2Fgmail-email-purger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30171869,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T07:56:45.623Z","status":"ssl_error","status_checked_at":"2026-03-06T07:55:55.621Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2025-11-26T04:03:38.217Z","updated_at":"2026-03-06T10:30:47.438Z","avatar_url":"https://github.com/bennycode.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gmail Email Deletion\n\n\u003e [!WARNING]  \n\u003e This script will permanently delete ALL emails and folders from your Gmail account. Use with extreme caution!\n\n## What This Script Does\n\nThis Python script connects to your Google Mail account via IMAP and:\n\n- **Deletes ALL emails** from every folder in your Gmail account\n- **Deletes ALL folders** (except system folders that can't be deleted)\n- **Permanently removes emails** by emptying trash after each batch\n\n## Prerequisites\n\n1. **Gmail App Password**: You need to generate an App Password (not your regular Gmail password)\n\n   - Go to [Google App Passwords](https://myaccount.google.com/apppasswords)\n   - Generate a new App Password for \"Mail\"\n   - Use this password in the script\n\n2. **IMAP Access**: Ensure IMAP is available in your Google Mail settings\n   - Go to Gmail Settings → [Forwarding and POP/IMAP](https://mail.google.com/mail/u/0/#settings/fwdandpop)\n   - Contact your workspace administrator if IMAP is not enabled (see [Turn POP \u0026 IMAP on or off for users](https://support.google.com/a/answer/105694?hl=en\u0026sjid=12332642361958922417-EU))\n\n## Setup and Usage\n\n### Option 1: GitHub Codespaces\n\n[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/bennycode/gmail-email-purger)\n\n1. Click the \"Open in GitHub Codespaces\" button above\n2. Wait for the environment to load\n3. Dependencies install automatically\n4. Script will run automatically\n\n### Option 2: Local Setup\n\n```bash\n# Create and activate virtual environment\npython3 -m venv venv\nsource venv/bin/activate\n\n# Install required dependencies\npip install -r requirements.txt\n\n# Run the script\npython main.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbennycode%2Fgmail-email-purger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbennycode%2Fgmail-email-purger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbennycode%2Fgmail-email-purger/lists"}