Hi Anish,
Thanks for writing us back again.
I have analyzed the scenario and want to share my findings as per my understanding because there is no sample email available.
There are two options as follows:
1. Secure link is present there in the message body. In this case mail body parsing is required programmatically and then further processing can be done using this link, user name and password.
2. Second option is that this link is present there in mail as custom or secret header. This can be an easier way of extracting secure link from the mail and then using it for getting mails from the link. Here no parsing is required and Aspose.Email component can be effectively used to get the required information.
Please have a look at the following links which describe the usage of custom and secret mail headers.
Please feel free to write us back if you have any further queries.