원클릭으로
google-workspace-setup
Connect Google Workspace (Gmail, Calendar, Docs) to Dex for email-aware planning and meeting prep
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Connect Google Workspace (Gmail, Calendar, Docs) to Dex for email-aware planning and meeting prep
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Process synced Granola meetings to update person pages, extract tasks, and organize meeting notes
Capture solved problems as categorized documentation with YAML frontmatter for fast lookup
Personal career coach with 4 modes: weekly reports, monthly reflections, self-reviews, promotion assessments
Generate a DexDiff methodology document from your vault customisations: package how you use Dex so others can replicate it
Rigorous whole-system checkup — verifies every Dex feature honestly (working / off / broken / couldn't-check), self-heals what is provably safe, and guides the user only where Dex cannot fix itself. Replaces /health-check.
Interactive post-onboarding tour with adaptive pathways based on available data
| name | google-workspace-setup |
| description | Connect Google Workspace (Gmail, Calendar, Docs) to Dex for email-aware planning and meeting prep |
| integration | {"id":"google-workspace","name":"Google Workspace","auth":"oauth2","mcp_server":"google-workspace-mcp","category":"communication","sync_direction":"bidirectional"} |
Connect your Google Workspace to Dex so your daily plans, meeting prep, and weekly reviews get richer context from email, Google Calendar, and Docs.
Once connected, Dex can:
Read:
Write (always with your confirmation):
Skill Enhancements:
/daily-plan) gets an email digest -- unread count, threads needing reply, emails from today's meeting contacts/meeting-prep) shows recent email threads with each attendee/week-review) includes email stats -- sent/received, response time, top correspondentsNew Capabilities:
/daily-plan, Dex checks for emails awaiting replies for more than 48 hours and surfaces them: "Sarah hasn't replied to your pricing email from 3 days ago. Draft a nudge?"Dex reads your email on demand -- nothing is stored permanently. Emails are fetched, summarized, and discarded after the session. Only YOUR account is accessible (scoped to your OAuth login). The OAuth token stays local on your machine and is gitignored.
/google-workspace-setup/integrate-mcp if Gmail or Google Workspace is mentionedSystem/integrations/config.yaml for google-workspace.enabled: trueSay:
**Let's connect Google Workspace to Dex.**
This uses an open-source MCP bridge that connects to your Google account via OAuth.
You'll authorize Dex once, and it remembers your login locally.
**What you'll need:**
- A Google account (Gmail, Workspace, or personal)
- About 3 minutes for the OAuth flow
**What Dex will be able to do:**
- Read your emails (search, unread, threads)
- Read Google Calendar, Docs, and Sheets
- Send emails and create events (always with your confirmation first)
**Ready to go?**
Wait for confirmation.
Check the user's MCP configuration. If google-workspace-mcp is not listed:
I need to add the Google Workspace connector to your Dex configuration.
This is an open-source bridge (github.com/taylorwilsdon/google_workspace_mcp)
that connects to Google's APIs via OAuth. Your credentials stay on your machine.
.mcp.json (use the /dex-add-mcp skill or manual edit):{
"google-workspace-mcp": {
"command": "npx",
"args": ["-y", "google-workspace-mcp"],
"env": {}
}
}
npx google-workspace-mcp -- this starts the OAuth flowSystem/.gmail-oauth-token.jsonIf OAuth succeeds:
Connected! I can see your Google Workspace account.
If it fails:
The OAuth flow didn't complete. A few things to check:
1. **Did the browser open?** If not, try copying the URL from the terminal output
2. **Did you approve all permissions?** Dex needs Gmail, Calendar, and Docs access
3. **Firewall or proxy?** Corporate networks sometimes block OAuth redirects
Want to retry?
Retry up to 2 times, then offer to skip and come back later.
Once connected, ask:
**Which Gmail labels matter most for your work?**
I'll prioritize these when building your email digest.
Common choices:
- INBOX (always included)
- IMPORTANT
- STARRED
- Custom labels (e.g., "Deals", "Follow-Up")
**Which labels should I watch?** (Just list names, or say "show me what's available")
Then ask about write operations:
**For sending emails and creating events:**
Would you prefer:
1. **Auto-draft** -- I'll compose messages and show them for your approval before sending
2. **Ask each time** -- I'll ask before even drafting anything
(You can change this anytime by re-running /google-workspace-setup)
Save their preference. Map choice 1 to draft_and_send: true, choice 2 to draft_and_send: false.
Run a quick test to confirm everything works:
Show a brief summary:
**Quick test results:**
- Email search: Working (found [N] recent emails)
- Calendar: Working (found [N] events today)
Everything looks good!
If either fails, troubleshoot before proceeding.
Write to System/integrations/config.yaml -- update the google-workspace section:
google-workspace:
enabled: true
configured_at: YYYY-MM-DD
mcp_server: google-workspace-mcp
auth_type: oauth2
account: user@example.com
labels:
- INBOX
- IMPORTANT
features:
email_digest: true
email_followup: true
draft_and_send: true # or false based on user preference
If the file already exists, only update the google-workspace: section. Preserve other integration configs.
**Google Workspace is connected!**
Here's what just got enhanced:
- **Daily Plan** (`/daily-plan`) now includes an email digest:
- Unread count from priority senders
- Threads needing reply (> 24h)
- Emails from today's meeting attendees
- Follow-up detection ("Sarah hasn't replied in 3 days")
- **Meeting Prep** (`/meeting-prep`) now shows email context:
- Recent email threads with each attendee
- Last email date and topic
- Unanswered emails to flag
- **Week Review** (`/week-review`) now includes email stats:
- Emails sent/received this week
- Average response time
- Top senders and recipients
You can adjust settings anytime by running `/google-workspace-setup` again.
During /daily-plan, Dex checks for stale email threads:
**Emails awaiting reply:**
- Sarah Chen hasn't replied to your pricing email (sent 3 days ago). Draft a nudge?
- Mike Ross hasn't replied to the proposal follow-up (sent 2 days ago).
Rules:
google-workspace.features.email_followup: true in config/daily-planGoogle OAuth tokens typically last 1 hour, but refresh tokens are longer-lived. If you see auth errors:
/google-workspace-setup to trigger a token refreshThe server might not be in your configuration. Re-run /google-workspace-setup and it will detect and fix this.
If certain features don't work (e.g., can't send emails):
/google-workspace-setup to re-authorize with full scopesGoogle APIs have generous limits for personal use. If you see rate errors:
Some organizations restrict OAuth access for third-party apps:
If the user runs /google-workspace-setup when already configured:
System/integrations/config.yamlIf user wants to disconnect:
System/integrations/config.yaml:
google-workspace:
enabled: false
/google-workspace-setup anytime to reconnect."