{
  "name": "Gmail MCP workflow - AI-powered email management",
  "nodes": [
    {
      "id": "984b6aba-c9ea-4b12-9274-c8d479c2719f",
      "name": "MCP Server Trigger",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        -1640,
        200
      ]
    },
    {
      "id": "64fd5646-c65b-4142-944f-7046a745690b",
      "name": "Gmail - Send Email",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        -1020,
        700
      ]
    },
    {
      "id": "c57c28ce-2353-4f18-b7db-91f508ebe4da",
      "name": "Gmail - Get Email",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        -800,
        600
      ]
    },
    {
      "id": "d164fa99-97f4-4544-8ea6-c74ae06bb2b4",
      "name": "Gmail - Mark Unread",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        -600,
        500
      ]
    },
    {
      "id": "d5712ba7-9db0-4203-b5b9-1a0ece642cce",
      "name": "Gmail - Add Labels",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        -280,
        400
      ]
    },
    {
      "id": "558332d6-5ff4-4eea-9aa1-7851ad94397e",
      "name": "Gmail - Mark Read",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        -600,
        60
      ]
    },
    {
      "id": "ea878786-f87d-4734-bed0-f4d96c459593",
      "name": "Gmail - Remove Labels",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        -1460,
        640
      ]
    },
    {
      "id": "98f2cb9e-d0a9-48a9-9b9a-26a195128180",
      "name": "Sticky Note - MCP Trigger",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2020,
        -60
      ],
      "parameters": {
        "width": 689,
        "height": 424,
        "content": "## 🚀 MCP TRIGGER EXPLANATION\n\n**What it does:**\nThis is the entry point for AI interactions with Gmail. The MCP (Model Context Protocol) trigger allows AI models to call any of the connected Gmail too"
      }
    },
    {
      "id": "f3431de6-e652-44d0-9060-d8f320e148eb",
      "name": "Sticky Note - Send Email",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1180,
        840
      ],
      "parameters": {
        "width": 350,
        "height": 284,
        "content": "## 📧 SEND EMAIL\n\n**Purpose:**\nCompose and send emails through AI commands. The AI extracts recipient, subject, and message content from natural language requests.\n\n**Use Cases:**\n• \"Send an email to j"
      }
    },
    {
      "id": "763d55d6-9c23-4997-b877-594e4c89d81d",
      "name": "Sticky Note - Get Email",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -700,
        780
      ],
      "parameters": {
        "width": 320,
        "height": 264,
        "content": "## 📖 READ EMAIL\n\n**Purpose:**\nRetrieve and read email content by message ID. Perfect for AI to analyze, summarize, or extract information from specific emails.\n\n**Use Cases:**\n• \"Read the latest email"
      }
    },
    {
      "id": "7e7eb446-0483-4c47-9420-c8c9292f48c1",
      "name": "Sticky Note - Mark Unread",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        580
      ],
      "parameters": {
        "width": 300,
        "height": 244,
        "content": "## 👁️ MARK AS UNREAD\n\n**Purpose:**\nMark emails as unread to ensure they get attention later. Useful for emails that need follow-up or further action.\n\n**Use Cases:**\n• \"Mark that important email as un"
      }
    },
    {
      "id": "976116f9-1b9e-466c-b3cf-46aa9a484320",
      "name": "Sticky Note - Add Labels",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -300,
        60
      ],
      "parameters": {
        "width": 320,
        "height": 444,
        "content": "## 🏷️ ADD LABELS\n\n**Purpose:**\nOrganize emails by adding labels for better categorization and workflow management.\n\n**Use Cases:**\n• \"Label this email as 'Important'\"\n• \"Add 'Project-X' label to recen"
      }
    },
    {
      "id": "835c248d-e384-419b-a22f-9e590afa56c6",
      "name": "Sticky Note - Mark Read",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -900,
        -60
      ],
      "parameters": {
        "width": 400,
        "height": 244,
        "content": "## ✅ MARK AS READ\n\n**Purpose:**\nMark emails as read to maintain inbox organization and track processed messages.\n\n**Use Cases:**\n• \"Mark all emails from today as read\"\n• \"I've processed this email, ma"
      }
    },
    {
      "id": "faae81d9-bf04-4b66-8bb4-649b22f6cd5b",
      "name": "Sticky Note - Remove Labels",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1640,
        780
      ],
      "parameters": {
        "width": 320,
        "height": 264,
        "content": "## 🗑️ REMOVE LABELS\n\n**Purpose:**\nRemove labels from emails to update categorization or clean up organization system.\n\n**Use Cases:**\n• \"Remove 'Urgent' label from this email\"\n• \"Clean up old project "
      }
    },
    {
      "id": "f2da52ae-39ce-40b7-a162-4c4cb369e7f4",
      "name": "Sticky Note - Overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2620,
        280
      ],
      "parameters": {
        "width": 400,
        "height": 664,
        "content": "## 🎯 WORKFLOW OVERVIEW\n\n**Gmail MCP - AI-Powered Email Management**\n\nThis workflow provides a complete toolkit for intelligent email management through AI interactions using the Model Context Protocol"
      }
    }
  ],
  "connections": {
    "Gmail - Get Email": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Gmail - Mark Read": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Gmail - Add Labels": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Gmail - Send Email": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Gmail - Mark Unread": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Gmail - Remove Labels": {
      "ai_tool": [
        [
          {
            "node": "MCP Server Trigger",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}