Google Gmail email forwarding

Whilst I know this is probably a Google API Script / Javascipt that i could use I am having alot of trouble trying to figure out what the code looks like and how it works… 

I am new to Google API code and was wondering if someone has already devised a solution that i can achieve the following:

1.  Time Based filtering in Gmail.

e.g. from 5:30pm - 7:30am i need to forward email from to

e.g. From 7:30am - 5:30pm delivery mail to inbox as normal.

  1. Need to be able to run the script automatically at 7:30am and 5:30pm.

Has anyone got a solution for me or can lead me to a link where i can learn how to get this setup?



Thanks for being a part of the GitHub Community Forum!

This Topic has already been opened and is being discussed in another thread already here: In an effort to keep the Community Forum organized and make it easier for other users to find information, we ask that users continue the conversation in existing threads, instead of opening new ones about the same topic. For this reason, I’ll be closing this Topic, and you can continue the conversation in the original thread, if you’d like. It’s more likely you’ll get engagement and answers to your own questions this way, too.

Thank you again for being here!