Claude를 어시스턴트로 활용해 Gmail 받은편지함 제로 달성
언제 쓸까: 월요일 아침, 받은편지함이 벽처럼 쌓여 있을 때.
사전 조건
- Google Cloud OAuth 클라이언트 — console.cloud.google.com에서 OAuth 2.0 credential을 생성하고 client_secret.json을 다운로드
- 서버 설치 — uvx workspace-mcp --tool-tier core (첫 호출 시 브라우저에서 OAuth 창이 열림)
흐름
-
받은편지함 분류Use google-workspace-mcp. List unread mail from the last 7 days. Bucket into: action-required, FYI, newsletters, automated.✓ 복사됨→ 버킷별 메일 수와 제목 샘플
-
중요도 낮은 버킷 자동 보관Archive everything in newsletters + automated. Don't touch action-required.✓ 복사됨→ N개 보관됨, action-required 0개 영향
-
답장 초안 작성For each action-required email, draft a 2-line reply in my voice. Save as drafts, don't send.✓ 복사됨→ Gmail에 초안 저장됨; 직접 수정 후 발송
결과: 받은편지함 20개 미만으로 정리, 답장 초안 작성 완료 — 최종 검토 및 발송은 사용자가 직접 담당.
함정
- Gmail 전체 권한을 부여했다가 후회 — --tool-tier core 사용 — extended로 선택하기 전까지 send_email 도구는 없음