Hi Guys,
I try to use n8n to connect to my Gmail. After I detect a new email I check with PostgreSQL if that email id was already processed or not
This is the selection I RUN:
SELECT id FROM n8n_logs WHERE gmail_id = '{{$node["Gmail"].json["id"]}}';
While this is working fine when I limit the number of selected emails to 1, when I try to put limit 2 or more I get an error
If however, I select just to get 1 email Postgres selection works just fine:
What am I doing wrong and how can I make sure it will work well even when i run this for 10 - 20 emails in the same time