Domino Server Email fetch through JavaMail using IMAP

Hi all,I installed domino server beta version in my system.

In our application, we are reading emails from Lotus Domino server. We are currently using “Lotus notes java agent” as a scheduler based agent to read the emails and retrieve document notes url as

“notes://ServerName@Wipro/__652574FA00254DF5.nsf/0/C431AF38A4F7241865257506003302E1?OpenDocument”

Now we plan to use JavaMail to retrieve emails from Lotus Domino server using “IMAP” protocol which is a standalone application.

Please suggest is anyway can we retrieve document notes url as mentioned above. I can get all other details like “subject”,From,body content etc using IMAP.