- Install the CLASP command line tool
- Run
clasp login
to get your Google credentials set up - Create the project from
clasp
in your Google Scripts. - Update the "TO_EMAIL" user property to the email you'd like tasks sent to.
- Update the "labelsToProcess" array to contain the GMail labels to process.
- Set up an Apps Script schedule
- ???
- Profit
stephendolan/gas-process-gtd-labels
Google Apps Script to process Gmail label messages into OmniFocus (or any task manager with an email inbox)
TypeScript