add send email functionality for sftp transactions incase of errror