Convert mail doc to jpeg or pdf file

Hi,

We are now using R5 in that we are doing electronic document management. In the Notes mail template, in the memo form we have a button. When user clicks the button,it will convert the mail into jpeg and store it in a temp directory of user’s PC (C:\temp\notes) and execute an exe file which will crab the jpeg file stored in the temp location of the user’s PC and show to the user. Then User has to enter some data and save the record.

The same functionality we want to implement in webmail. Our company has around 900 users. Any ideas or information to implement this in web browser?

Thanks