Hi Arijit,
Put a condition in the SWITCH step (maybe based on a key field) such that the mapping "MM_SF_EmployeeData_To_HMS_Receive" would execute if the payload is not empty and the other mapping (create a mapping to the Mail package structure and use default values in the mapping) would execute if the payload is empty.
Regards,
Mateen