Hello there,
I am trying to perform an automated archiving of a gmail mailbox.
To do this, I use the Gmail node to browse the gmail inbox looking for old ones to transfer to the archive folder.
The problem is that the node scans the mailbox for new mails, to the old mails. This causes an extremely long treatment.
Is it possible to reverse the processing operation of the mailbox ? (scan the oldest emails to the most recent).
Hey @antoinesnowleader!
I am not sure if Gmail allows you to reverse the output. But I think it might be possible with the Query option. You can find the list of all the possible queries that you can use for Gmail here.
1 Like
Thank your for your quick answer ! I will look at it
If you find a solution, please do share. This might help a lot of people
With the query
before: mm/dd/yyy
I only get the mails that I want to transfer to my archive. it fits my needs perfectly.
I will make a return when my workflow is functional.
Thanks again
1 Like