@hkhan :
The following expression should give you a link to the folder:
substring(body('Get_file_properties')?['{Link}'],0,lastIndexOf(body('Get_file_properties')?['{Link}'],'/'))
To insert a hyperlink in the email, simply wrap the expression above inside of a hyperlink tag and set the "is HTML" property of the email to true.
The Link to Item Dynamic property returns the fill path and file name.
The expression first finds the last instance of a backslash in the item link - that is where you want to cut the text.
The substring expression is used to "cut off" elements at a specified length.
Please give it a try and let me know if this works for you.
If this solves your issue, please mark your post as Solved.
If you like my solution, please give it a Thumbs Up,