Default Email Sender option update according to user


I set up an email account and make it the default sender for all my email notifications, and it worked successfully. But now I facing an issue, when an employee applied for leave and attendance it shows the default sender as the sender name. So I want to update the email sender to an employee’s email id.

Is there any way to do it?

Eg: If an employee “XYZ” applied for a leave it sends from his user-id and another employee “wz” applied for a leave it send from his user-id.This is my requirement

Please help me with this