rosulek / gmail-tickler

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

tickled emails aren't always visible #2

Open DanielStevenLewis opened 9 years ago

DanielStevenLewis commented 9 years ago

Great script!

If one turns off conversation view and doesn't adhere to inbox zero philosophy, then the email reminders could appear buried somewhere in the inbox where nobody will notice them.

I dealt with this in the following way:

var EMAIL_USERNAME = "johndoe"; var EMAIL_PREFIX = EMAIL_USERNAME + "+tickler"; . . .

function untickleThread(t) { . . . //t.moveToInbox(); var firstMessage = t.getMessages()[0]; GmailApp.sendEmail(EMAIL_USERNAME + "@gmail.com", firstMessage.getSubject(), firstMessage.getPlainBody()); t.moveToTrash(); }

If you're tickling rich text emails you'll have to do something more sophisticated though.

rosulek commented 7 years ago

This could be incorporated, probably without a great deal of effort. What you propose is to delete the thread and replace it with a fresh "clone" ... I would propose just replying to the thread (to yourself only) with an empty email so that it reappears at the top. I'm not familiar with the non-conversation view, so maybe this wouldn't work well.