본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

gmail-cleaner

cedarscy 제작

Web & Frontend Development
286clawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Clean and organize Gmail accounts in bulk.

설명

이 스킬이 하는 일

Bulk-cleans Gmail accounts using the Gmail API. Supports trashing or permanently deleting emails by sender or search query, creating labels, setting up auto-filters, and restoring emails from trash. Multiple accounts are handled via separate OAuth token files.

Processes up to 1000 messages per API call with dry-run support, so large inbox cleanups are faster and safer than working through Gmail's web interface.

사용 시점

  • Bulk deleting promotional emails older than 30 days
  • Removing all emails from a specific newsletter or spam sender
  • Setting up auto-filters to label incoming banking or work emails
  • Scanning an inbox to identify top senders before cleaning
  • Restoring accidentally trashed emails and applying a label

예시 워크플로

입력

User asks: Clean my Gmail — trash all promotional emails older than 30 days and set up labels for banking and work

에이전트
  1. 1

    Runs auth.py with --scopes settings to authenticate and obtain an OAuth token

  2. 2

    Runs scan.py to sample the inbox and identify top senders and category counts

  3. 3

    Runs clean.py with --query 'category:promotions older_than:30d' and --dry-run to preview matches

  4. 4

    Runs clean.py without --dry-run to move matching emails to trash

  5. 5

    Runs organize.py to create Banking and Work labels and set up inbox filters

출력

Promotional emails moved to trash and Banking/Work labels created with active filters for future emails

요구 사항

  • Google Cloud project with Gmail API enabled
  • OAuth 2.0 credentials JSON (Desktop app type) downloaded from Google Cloud Console

설치

clawhub install cedarscy/gmail-cleaner

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크