Task: Automatically email assignees their overdue incidents from Notion table

n8n workflow JSON:
{"id":4,"name":"My workflow no trigger","nodes":[{"name":"IF","type":"n8n-nodes-base.if","position":[620,300],"parameters":{"conditions":{"string":[{"value1":"={{$json[\"properties\"][\"Overdue?\"][\"formula\"][\"string\"]}}","value2":"=OVERDUE","operation":"contains"}],"boolean":[]}},"typeVersion":1},{"name":"Notion","type":"n8n-nodes-base.notion","position":[440,300],"parameters":{"simple":false,"options":{},"resource":"databasePage","operation":"getAll","databaseId":"your db id"},"credentials":{"notionApi":{"id":"1","name":"Notion account"}},"typeVersion":1},{"name":"Send Email","type":"n8n-nodes-base.emailSend","position":[1030,280],"parameters":{"text":"=\nIncident no. {{$node[\"IF\"].json[\"properties\"][\"Incident number\"][\"formula\"][\"number\"]}} overdue!! {{$node[\"IF\"].json[\"properties\"][\"Incident description\"][\"title\"][0][\"text\"][\"content\"]}}","ccEmail":"={{$node[\"FunctionItem\"].json}}","options":{},"subject":"=overdue","toEmail":"destination email address","fromEmail":"your email address"},"credentials":{"smtp":{"id":"2","name":"SMTP account"}},"typeVersion":1},{"name":"Cron","type":"n8n-nodes-base.cron","position":[280,300],"parameters":{"triggerTimes":{"item":[{"hour":12,"mode":"everyWeek","minute":14}]}},"typeVersion":1},{"name":"FunctionItem","type":"n8n-nodes-base.functionItem","position":[820,180],"parameters":{"functionCode":"// Code here will run once per input item.\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.functionItem\n\n// Add a new field called 'myNewField' to the JSON of the item\n//item.myNewField = 1;\n\n// You can write logs to the browser console\n//console.log('Done!');\n\n//return item;\nlet CC_email = \"\";\nlet i = 0;\n//let first_email = $json[\"properties\"][\"Assigned to\"][\"people\"][i][\"person\"][\"email\"];\n\nwhile (i< $json[\"properties\"][\"Assigned to\"][\"people\"].length) \n{\n  CC_email += $json[\"properties\"][\"Assigned to\"][\"people\"][i][\"person\"][\"email\"] + \";\";\n  i++;\n}\nreturn CC_email ;"},"typeVersion":1}],"active":true,"settings":{},"connections":{"IF":{"main":[[{"node":"FunctionItem","type":"main","index":0}]]},"Cron":{"main":[[{"node":"Notion","type":"main","index":0}]]},"Notion":{"main":[[{"node":"IF","type":"main","index":0}]]},"Send Email":{"main":[[]]},"FunctionItem":{"main":[[{"node":"Send Email","type":"main","index":0}]]}}}