Hi Ravi,
On the save button onClick -> Select call a microflow in the microflow write a logic
Drag the decision-> check in the decision
$currentObjcet/Name!=empty && $currentObject/Email!=empty
If this condition is true commit the object & close the page
If this condition is false close the page only & end event.
You can also add the validation
$currentObject/Name!=empty if true then check next flow for email if false just show the validation feedback please enter the name like this validation you can also use this.
Hope you like the answer