rosulek / gmail-tickler

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

Moving conversation to label tickler/tomorrow are returned to label /tickler/finished #3

Closed orschiro closed 9 years ago

orschiro commented 9 years ago

Dear @rosulek,

Thank you very much for this great script! I followed your setup steps and my tickler labels are successfully created. I moved a conversation to tickler/tomorrow in expectation that it would return to my inbox tomorrow. However, it is returned one hour later (project trigger?) with the label tickler/finished.

Do you have any idea why?

Thanks!

Robert

rosulek commented 9 years ago

When you add "tickler/tomorrow" label to a thread, the "tomorrow" is calculated relative to the last email in that thread. I'm guessing that in this case, the last email in the thread is yesterday. So relative to that email, "tomorrow" means today.

Obviously it would make more sense for the date to be computed relative to when the label was applied. Unfortunately there is no easy way for my script to know that information (as far as I can tell). You might want to get in the habit of saying "tickler/friday" for example which will work better, unless the conversation is more than a week old.

Mike

On Thu, Apr 2, 2015 at 7:57 AM, Robert Orzanna notifications@github.com wrote:

Dear @rosulek https://github.com/rosulek,

Thank you very much for this great script! I followed your setup steps and my tickler labels are successfully created. I moved a conversation to tickler/tomorrow in expectation that it would return to my inbox tomorrow. However, it is returned one hour later (project trigger?) with the label tickler/finished.

Do you have any idea why?

Thanks!

Robert

— Reply to this email directly or view it on GitHub https://github.com/rosulek/gmail-tickler/issues/3.

orschiro commented 9 years ago

Hi Mike,

I'm guessing that in this case, the last email in the thread is yesterday.

Indeed it was an email from yesterday. That makes sense. Thanks for your quick response!

I will get myself used to using absolute days. Still great script, love it! :)

orschiro commented 9 years ago

"tickler/friday" for example which will work better, unless the conversation is more than a week old.

Just encountered this issue. How would you suggest to treat conversations that are older than one week?