To create Gmail records from Google Drive without manual input, use a ready-made scenario.
Starts when: Gmail Trigger
Check: Filter
Then: Gmail1
Then: Split Out
Check: Merge
Then: Google Drive1
Then: Create Folder
You can launch this Google Drive + Gmail integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.