Can't connect Email Trigger (IMAP) to the next node

I setup the Email Trigger (IMAP) node to hopefully get my emails from Yahoo. I was following a community template that used Gmail. I want to connect to the Markdown node but it won’t let me (same with other node types). Whenever I try to connect Email Trigger to another node, the side panel opens with “MCP Server Trigger” as the only option. Every template I look at for examples has the Email Trigger node connected to another type of node, no MCP Server Trigger used. Is it a new thing to require the Email Trigger to connect to MCP Server Trigger?

I haven’t been able to execute the first node, Email Trigger, yet.

  • localhost set up using latest version
  • Running n8n via npm
  • Windows 11

  "nodes": [
    {
      "parameters": {
        "operation": "appendOrUpdate",
        "documentId": {
          "__rl": true,
          "value": "https://docs.google.com/spreadsheets/d/1V5MA4tVydAiHwB2ffuOLKux3IGsuOzCiqO4a1AfP6Fs/edit?usp=sharing",
          "mode": "url"
        },
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "YOUR_GOOGLE_SHEETS_URL",
          "cachedResultName": "Sheet1"
        },
        "columns": {
          "mappingMode": "autoMapInputData",
          "value": {},
          "matchingColumns": [
            "sender name"
          ],
          "schema": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {}
      },
      "id": "d195a08e-90a9-4de7-879a-9165d116b7bb",
      "name": "Log to Google Sheets1",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        620,
        200
      ],
      "typeVersion": 4,
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "bVfWJUb97SIZDhMF",
          "name": "Google Sheets account"
        }
      }
    },
    {
      "parameters": {
        "promptType": "define",
        "text": "=Please read this email \"{{ $json.Content }}\" and provide a very short, concise summary containing only the most important information. Keep the summary as brief as possible without losing essential details. ",
        "options": {}
      },
      "id": "a2c40ae0-66a9-4e71-bd0f-fa36bb7ada1f",
      "name": "AI Agent1",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -60,
        140
      ],
      "typeVersion": 2
    },
    {
      "parameters": {
        "model": "deepseek-r1:8b",
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatOllama",
      "typeVersion": 1,
      "position": [
        -80,
        420
      ],
      "id": "0ae0cc9e-f42c-4c4f-b092-26972345540f",
      "name": "Ollama Chat Model",
      "credentials": {
        "ollamaApi": {
          "id": "QJd9WgfmLuHqoQa2",
          "name": "Ollama account"
        }
      }
    },
    {
      "parameters": {
        "options": {
          "customEmailConfig": "= [ ['AND', 'UNSEEN', ['ON', '{{ $now.startOf('day').toISO() }}'] ] ]"
        }
      },
      "type": "n8n-nodes-base.emailReadImapTool",
      "typeVersion": 2,
      "position": [
        -940,
        200
      ],
      "id": "826a9b4d-894e-4ed1-ab3a-01fe00ad7f22",
      "name": "Yahoo Mail",
      "credentials": {
        "imap": {
          "id": "gLDxzv3LVjxR9aZY",
          "name": "Yahoo Mail IMAP"
        }
      }
    },
    {
      "parameters": {
        "html": "={{ $json.textHtml }}",
        "options": {}
      },
      "type": "n8n-nodes-base.markdown",
      "typeVersion": 1,
      "position": [
        -540,
        140
      ],
      "id": "5c95824d-38e9-47d9-930c-134c3435fc90",
      "name": "Markdown"
    }
  ],
  "connections": {
    "AI Agent1": {
      "main": [
        [
          {
            "node": "Log to Google Sheets1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Ollama Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Yahoo Mail": {
      "ai_tool": [
        []
      ]
    }
  },
  "pinData": {},
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "198a0bf1075047058c08dd09e715c230598e17e7ed6e449d7d4cc5ab14d33423"
  }
}```

Hey @Sam_B hope all is well. Welcome to the community.

Would you like to add some visuals to better illustrate your issue?

I followed the instructions when posting, I assumed the code I posted would convert to a visual. I will paste an image next time I’m at that computer, since it’s running locally. Thank you.

Hey @Sam_B hope your day is going well.

In order for the long blob of JSON text to visualize, it needs to be surrounded by ``` → both before and after the JSON. Yet, i was most ly referring to visual as some screenshots, which would illustrate the issue.

Thanks.

I posted a screenshot. This is my first workflow ever, so experimenting. Goal is to read my incoming emails for the current day, identify newsletters, extract the stories (title, summary, hyperlink if any), add to Google sheet (for now, will be proper db later)

Ah I see, the Email Trigger tool you’ve added is not a regular node, but a tool node. You rarely can connect anything TO it, such nodes most often are being connected to an AI Agent to its “tools” leg. If you need an actual email trigger, it should look like this

All together this would look something like this

1 Like

Thank you! I’m new to the forum so not sure if there’s a way to mark this as the answer.

This has to be one of the options under the answer.

not yet, maybe I’m limited because it’s a new account. I’ll keep checking and mark it when the option is available.

Thank you, I appreciate that.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.