I am absolutely loving n8n! I’m doing reasonably well getting my head around the various functions. I am however stuck on something quite basic despite following the guides (or so I think!).
Basically I am trying to fetch emails with the label “LogTest”. n8n can access my emails and “Label Ids” correctly gives me a list of all the labels in my account. However on execution it pays no attention to the label. Instead it simply fetches the last emails in my account. What am I doing wrong?
Thanks a lot for reporting this. Looks for me like you are doing everything correctly. So also tested and I have the same problem. So it looks like a bug. We will have a look and repair it asap.
I have not used n8n for a couple months due to problems associates with the size of my sqlite.database. This has now been resolved (thank you for your separate help on this!).
Now that n8n is running again, I can report that this bug seems to have reoccurred exactly as per my original post here. I am using the exact same workflow which used to work so something recent has broken this.
I tested it with versions 0.141.0 and 0.141.1, and I was able to replicate the issue. May I know which version are you using? I also tested this on v0.138.0 and it works well.
You can either downgrade to 0.138.0 or setup the N8N_USE_DEPRECATED_REQUEST_LIB=true environment variable. For more information, check out this post: Get Cookie After Login - #10 by Edson_Rodrigues