I started getting the same error. Here is the error output:
{
"errorMessage": "Cannot read properties of undefined (reading 'includes')",
"errorDetails": {},
"n8nDetails": {
"n8nVersion": "1.78.0 (Self Hosted)",
"binaryDataMode": "default",
"stackTrace": [
"TypeError: Cannot read properties of undefined (reading 'includes')",
" at PollContext.poll (/opt/render/project/src/packages/nodes-base/nodes/Google/Gmail/GmailTrigger.node.ts:312:35)",
" at processTicksAndRejections (node:internal/process/task_queues:105:5)",
" at WorkflowExecute.runNode (/opt/render/project/src/packages/core/src/execution-engine/workflow-execute.ts:1122:20)",
" at /opt/render/project/src/packages/core/src/execution-engine/workflow-execute.ts:1490:27",
" at /opt/render/project/src/packages/core/src/execution-engine/workflow-execute.ts:2051:11"
]
}
}
I was using a Google Workspace email account. When I switched to a Gmail account (@gmail.com) it worked.
I tried changing various things and it started working again for me when I changed the settings on the Google Workspace trigger. I added a Filter for “Label Names or IDs” and set it to “Inbox”.