Communicationβ˜… 7.3k

Gmail β€” Email Management, Smart Reply & Inbox Automation

Full Gmail control via AI. Read, compose, reply, label, archive, search emails β€” and set up smart auto-responses based on content analysis. Inbox zero, automated.

Inbox Zero, Automated

Email is the biggest productivity killer. The Gmail MCP lets OpenClaw read, triage, compose, and respond to emails β€” turning your inbox from a to-do list into an automated workflow.

  • Smart Triage: "Read my unread emails and categorize them: urgent, action-needed, FYI, spam."
  • AI Drafts: "Draft a polite reply to the vendor asking for a 2-week extension."
  • Automated Responses: Set rules for auto-replies based on sender, subject, or content.
  • Search & Extract: "Find all invoices from Amazon in the last 3 months and list the totals."

Configuration

"mcpServers": {
  "gmail": {
    "command": "npx",
    "args": ["-y", "@mcp/gmail-server"],
    "env": {
      "GOOGLE_CLIENT_ID": "your-client-id",
      "GOOGLE_CLIENT_SECRET": "your-client-secret",
      "GOOGLE_REFRESH_TOKEN": "your-refresh-token"
    }
  }
}

Top Prompts

  1. "Summarize my 10 most recent unread emails in one paragraph each."
  2. "Reply to Sarah's email saying we can meet Thursday at 3pm instead."
  3. "Find and archive all newsletter emails older than 30 days."
  4. "Send a follow-up to everyone I emailed last week who hasn't replied."

Security Note

Important: Always use OAuth2 with minimal scopes. Avoid storing credentials in plain text. Use read-only mode when you only need inbox monitoring.

$ cd ../* END_OF_FILE */