- In
Project Settings, enable Showappsscript.jsonmanifest file in editor - Create a new project with the below
Code.gsscript on https://script.google.com - Modify the
appsscript.jsonwith the below script - In
Triggers, setup a trigger to run your function every hour.
For a detailed approach, this code was inspired from this article: https://www.gozynta.com/blog/posts/quickbooks-online-gmail-receipt-forwarding/