Asi gmail

Fetch Gmail using existing Google Workspace credentials at ~/.google_workspace_mcp/credentials/greenteatree01@gmail.com.json

install
source · Clone the upstream repo
git clone https://github.com/plurigrid/asi
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/plurigrid/asi "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/gmail" ~/.claude/skills/plurigrid-asi-gmail && rm -rf "$T"
manifest: skills/gmail/SKILL.md
source content

Gmail Skill

Fetches Gmail using existing Google Workspace OAuth credentials.

Prerequisites

Credentials file exists at:

~/.google_workspace_mcp/credentials/greenteatree01@gmail.com.json

Usage

Fetch most recent email:

uvx --from google-auth --with google-api-python-client --with google-auth-oauthlib python3 ~/.claude/skills/gmail/fetch.py

Fetch with options:

# Fetch N most recent emails
uvx --from google-auth --with google-api-python-client --with google-auth-oauthlib python3 ~/.claude/skills/gmail/fetch.py --count 5

# Search emails
uvx --from google-auth --with google-api-python-client --with google-auth-oauthlib python3 ~/.claude/skills/gmail/fetch.py --query "from:someone@example.com"

Credential Location

The working credentials are at:

~/.google_workspace_mcp/credentials/greenteatree01@gmail.com.json

These contain a refresh token with full Gmail scopes (readonly, compose, send, modify).