rosulek / gmail-tickler

Get emails out of your inbox until a specified date
MIT License
19 stars 5 forks source link

Tickling to very near future gets delayed #20

Open rosulek opened 8 years ago

rosulek commented 8 years ago

Apply a tickler label like tickler/10min, and it will take two executions of the script for the thread to reappear in the inbox: once to convert tickler/10min to an absolute date tickler/@/YYYY-MM-DD at HH:MM, and another to actually restore.

Is this a big problem, is anyone frequently sending things 10 minutes into the future like this? I certainly have never needed to cleanup my inbox on such a short timescale. I guess it could happen if you have a label automatically applied to certain kinds of emails (e.g., tickler/6pm applied to an email coming in at 5:45pm).

lehrblogger commented 8 years ago

I do have a couple filters that automatically apply labels, but even that is a pretty thin edge case. The one situation in which it might be useful to have this working as expected is when doing development / testing, so I think it's worth keeping this issue in mind.

lehrblogger commented 7 years ago

@rosulek Ok, I opened https://github.com/rosulek/gmail-tickler/pull/23, which should resolve this.

rosulek commented 7 years ago

oops, closed by accident

rosulek commented 7 years ago

I wanted to leave this open. As you say, it can probably done in a way that doesn't unnecessarily increase the number of calls to the Gmail API.