rosulek / gmail-tickler

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

Automatically create script Triggers in setup() method #26

Open lehrblogger opened 7 years ago

lehrblogger commented 7 years ago

As discussed in https://github.com/rosulek/gmail-tickler/issues/25, we can simplify the script installation by including the Trigger creation in the setup() method.

Does it seem reasonable to synchronize the Trigger interval with the fudge_factor value, and perhaps constrain the latter to the 1/5/1015/30/60 minutes options available in the dropdown for the former?

screen shot 2016-12-01 at 1 42 00 am

rosulek commented 7 years ago

Relevant documentation here.

I did not realize you could programmatically set one-time triggers for specific dates (specify by absolute date or in N minutes). Could be interesting to consider.

Putting things in sync with the fudge factor makes sense. Related questions: