rosulek / gmail-tickler

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

Only increment now by fudge_factor once, not every thread #7

Closed lehrblogger closed 8 years ago

lehrblogger commented 8 years ago

This fixes a bug that caused threads to be returned to the inbox before the desired time. It was particularly noticeable when large numbers of threads were being processed, since the FUDGE_FACTOR increments would accumulate and the emails would reapper far ahead of schedule.