To create Google Tasks records from Gmail without manual input, use a ready-made scenario.
Starts when: Schedule
Then: Google Tasks
Then: Gmail
You can launch this Gmail + Google Tasks integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.