Need help with getting mails

Describe the problem/error/question

I want to get set trigger for daily mails but it only take one date

What is the error message (if any)?

Please share your workflow

Share the output returned by the last node

no error need desired results

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:

hey @suble what you want to get from this?

1 Like

I will be setting a time trigger schedule to get mails daily but it takes only one date in recieved after

so for daily you need to change it to expression and add {{$now.minus({days: 1}).toISO()}}

some thing like this and it will get you last 24h mails.
hope this helps

2 Likes

ooh thanks,

I am actually still learning.

thanks for the help by the way.

1 Like

happy to help.

1 Like

if it was helpful please do mark my response as solution.

1 Like