Hi @Swapnil99 , if you are using PA cloud, you can use any of the outlook triggers which suits your purpose to start the flow when you receive mail1. Trigger samples shown in screenshot.

Once the flow starts, you can use another outlook action to fetch details from mail2 by giving suitable parameters to identify mail2 for eg, subject line of mail2, sender of mail2 etc. One option would be to use Get Emails V3 to fetch all mails using certain filters and loop through the result to find the corresponding mail you need to reply for and find it's message id.

Once you have the message id of the mail you need to reply on, you can use 'Reply to Email V3' action to reply to the same.

If you have any other criteria's for this requirement, please provide the details.
If this message helped you in proceeding with your development, please provide a thumps up and accept this as a solution if it resolved your query.