Hi everybody, please help to convert stored procedure results into create html, then send an email, thank you

JSON schema
{
"type": "object",
"properties": {
"ResultSets": {
"type": "object",
"properties": {
"Table1": {
"type": "array",
"items": {
"type": "object",
"properties": {
"Course Name": {
"type": "string"
},
"TrainingType": {
"type": "string"
},
"Training Date": {
"type": "string"
},
"Time": {
"type": "string"
},
"Language": {
"type": "string"
},
"Area": {
"type": "string"
},
"Building": {
"type": "string"
},
"Room": {
"type": "string"
},
"Learning Event": {
"type": "string"
},
"AvailablePlaces": {
"type": "string"
}
},
"required": [
"Course Name",
"TrainingType",
"Training Date",
"Time",
"Language",
"Area",
"Building",
"Room",
"Learning Event",
"AvailablePlaces"
]
}
}
}
},
"OutputParameters": {
"type": "object",
"properties": {}
}
}
}