Hi community,
I’m working on the n8n Level 2 course workflow. Since I don’t have a Google Cloud Console account, I used an SMTP Email node instead of the Gmail node suggested in the docs.
Here’s what I did:
SMTP Email node is working fine and the file is sent successfully.
Next step is configuring the Discord node.
The docs say to send this message:
I sent the file using email with the label ID {label ID}. My ID: {unique ID}
I replaced {unique ID} with my own course ID.
But I don’t know what to use for {label ID} since I’m not using Gmail labels.
When I test the Discord node, I get this error:
Cannot read properties of undefined (reading ‘error’)
Questions:
What should I use for {label ID} if I’m sending the email via SMTP instead of Gmail?
Is this error because my expression is wrong, or is there another fix?
Thanks a lot for the help ![]()
Describe the problem/error/question
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
Information on your n8n setup
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system: