I’m trying to list all mails in this label and for this date (before: after: query) using Email module
And it’s taking forever. Getting 2 mails took 10 seconds (without filters) and getting 11 mails (filtering through 10 mails) took like 25 seconds. At this point I’m gonna timeout before I reach my mail count. It’s better to use Simple filter than Gmail filter though.
Is it the same for you guys ?
I’d use API calls which are much faster, but I have to fetch each mail one by one and use 2 HTTP operation per mail.
1 Like
Hi @kudracha
Delay can be due to your browser cache as well.
Regards,
Msquare Automation - Platinum Partner of Make
@Msquare_Automation
1 Like
Hi @Msquare_Automation, I cleared cache but it was the same. ‘simple’ query has better performance than ‘gmail’. It’s better now today.
Actually I had another problem with date formats and that’s why it was taking forever - searching whole month of january instead of between 01 and 02 january
the expected format is not DD/MM/YYYY in gmail query. Still a difference in performance, but searching a day is much faster than searching for month haha.
1 Like