The Gmail Node in N8N has an after date filter, when you want to it run automatically with the following code {{$today.minus(1, 'day').startOf('day').toISO()}} ( so it gets data everyday)

Describe the problem/error/question

  • The gmail node has an before & After filter so you can get emails before or after a date, i do not want to manually move the date every day. So i put the after filter and following code down so it moves up 1 day each day. {{$today.minus(1, ‘day’).startOf(‘day’).toISO()}}

What is the error message (if any)?

  • no error just mails from weeks before

Please share your workflow

Share the output returned by the last node

just wron output to many mails

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:

Here is my setting and seems normal

Can you check you use Received After and maybe try not using the toISO?