Communitygithub.com

Gmail 받은편지함 관리

통합 도구를 사용하여 여러 Gmail 계정의 이메일을 관리합니다. 사용자가 이메일 확인, 받은편지함 읽기, 라벨 지정, 보관 처리 또는 여러 계정의 Gmail 관리를 요청할 때 사용합니다.

Gmail 받은편지함 관리란 무엇인가요?

이 스킬은 여러 Gmail 계정을 통합 관리할 수 있는 도구 모음입니다. 개발자나 AI 에이전트가 하나의 명령으로 여러 계정의 이메일을 확인하고, 라벨을 지정하고, 보관 처리하거나 읽음 표시할 수 있습니다. Claude Code, Cursor, Codex 등 터미널 기반 AI 에이전트와 함께 사용할 수 있으며, Gmail API를 기반으로 동작합니다. 계정 등록 파일(gmail_accounts.json)에 등록된 계정들을 인식하고, 각 계정의 OAuth 인증 파일을 활용하여 안전하게 이메일에 접근합니다. 기본적인 이메일 조회 외에도 'is:unread'와 같은 Gmail 검색 쿼리를 지원하고, 드라이런 모드를 통해 실제 변경 전에 작업을 미리 확인할 수 있어 실수 없이 업무를 자동화할 수 있습니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/aiagentwithdhruv/skills/tree/HEAD/gmail-inbox

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

Gmail 받은편지함 관리은(는) 무엇을 하나요?

목표

통합 도구를 사용하여 여러 Gmail 계정의 이메일을 확인하고 관리합니다.

스크립트

  • ./scripts/gmail_unified.py - 받은편지함 확인 및 관리
  • ./scripts/gmail_multi_auth.py - 계정 인증
  • ./scripts/gmail_bulk_label.py - 대량 라벨링
  • ./scripts/gmail_create_filters.py - 필터 생성
  • ./scripts/gmail_auth.py - 인증 도우미

빠른 참조

# 모든 계정의 읽지 않은 메일 확인
python3 ./scripts/gmail_unified.py --query "is:unread" --limit 50

# 특정 계정만 확인
python3 ./scripts/gmail_unified.py --query "is:unread" --account yourcompany

# 등록된 계정 목록 보기
python3 ./scripts/gmail_unified.py --accounts

# 이메일 라벨링 및 보관 처리
python3 ./scripts/gmail_unified.py --query "from:notifications@" --label "Notifications" --archive

# 읽음 표시
python3 ./scripts/gmail_unified.py --query "from:noreply@" --mark-read

# 드라이런 (미리보기)
python3 ./scripts/gmail_unified.py --query "subject:invoice" --label "Invoices" --dry-run

계정 등록부

계정이메일자격 증명토큰
youruser[email protected]credentials.jsontoken_youruser.json
yourcompany[email protected]credentials_yourcompany.jsontoken_yourcompany.json

인증 오류 문제 해결

"Token file not found"

python3 ./scripts/gmail_multi_auth.py --account yourcompany --email [email protected]

"invalid_scope: Bad Request"

rm token_youruser.json
python3 ./scripts/gmail_multi_auth.py --account youruser --email [email protected]

"Failed to authenticate" 루트 디렉토리에 credentials.json 파일이 있는지 확인하세요.

필요한 범위

  • gmail.modify - 이메일 읽기/쓰기
  • gmail.labels - 라벨 생성/관리
  • gmail.settings.basic - 설정 관리
  • spreadsheets - Google Sheets 접근
  • drive - Google Drive 접근

자격 증명 위치

모든 자격 증명 파일은 작업 공간 루트에 있어야 합니다:

  • credentials.json / credentials_yourcompany.json - OAuth 클라이언트 구성
  • token_*.json - 인증 토큰 (자동 생성)
  • gmail_accounts.json - 계정 등록부

스키마

입력

이름유형필수설명
querystring아니오Gmail 검색 쿼리 (예: 'is:unread')
accountstring아니오등록부의 특정 계정 이름
limitinteger아니오가져올 최대 이메일 수 (기본값: 50)

출력

이름유형설명
emailsarray제목, 발신자, 날짜, 미리보기가 포함된 이메일 객체 목록

자격 증명

이름출처
credentials.json파일
token_*.json파일 (자동 생성)

연계 가능한 스킬

이 스킬과 잘 연계되는 스킬: gmail-label, instantly-autoreply

비용

무료 (Gmail API)

Individual skills in this repo

This repo contains 10 individual skills — each has its own dedicated page.

aiagentwithdhruv/skills

Add new Modal webhooks for event-driven execution. Use when user asks to create a webhook, add an endpoint, or set up event triggers.

aiagentwithdhruv/skills

Answer Euron Gen AI Bootcamp doubts instantly. Covers Euri API setup across all frameworks (Python, LangChain, OpenAI SDK, TypeScript, n8n, curl), MCP server setup, common errors, model recommendations, and token limits. Use when someone in the bootcamp asks a question.

aiagentwithdhruv/skills

Auto-label Gmail emails into Action Required, Waiting On, and Reference categories. Use when user asks to label emails, triage inbox, categorize emails, or organize Gmail.

aiagentwithdhruv/skills

Scrape Google Maps for B2B leads with deep website enrichment and contact extraction. Use when user asks to find local businesses, scrape Google Maps, generate contractor lists, or build local service business databases.

aiagentwithdhruv/skills

Run Claude orchestrator locally with Cloudflare tunneling. Use when user asks to run locally, start local server, or test webhooks locally.

aiagentwithdhruv/skills

MCP server for AI-powered macOS control — apps, display, audio, files, screenshots, clipboard

aiagentwithdhruv/skills

Deploy execution scripts to Modal cloud. Use when user asks to deploy to Modal, push code to cloud, or update Modal functions.

aiagentwithdhruv/skills

Scrape and verify business leads using Apify, classify with LLM, enrich emails, and save to Google Sheets. Use when user asks to find leads, scrape businesses, generate prospect lists, or build lead databases for any industry or location.

aiagentwithdhruv/skills

Query Skool community content using RAG pipeline with vector search. Use when user asks to search Skool knowledge, find community answers, or query Skool content.

aiagentwithdhruv/skills

Scrape Upwork jobs and generate personalized proposals with cover letters. Use when user asks to find Upwork jobs, create Upwork proposals, or apply to Upwork listings.

관련 스킬