Thank you for your reply Siddhant.
Ya, I am aware of NWA config to get an automated email for human activity. The reason I can not use this option because, automated email can not be customised. I have the requirement to customize the email with some payload variables.
I have implemented some workaround to get the host name in BPM.
Thanks and Regards,
Amulya