once the file downloads (the pdf etc) you can make a invoke.net snippet to open the file with the associated program for the file type..
let me know if you want the c# to do this
From: firstname.lastname@example.org <email@example.com> on behalf of edv@... <edv@...>
Sent: Thursday, 20 July 2017 5:53 AM
Subject: Re: [magicu-l] Rich Client and Print on his own printer #ria #print #local
Thank you for your answer. Ok, then I'll make it so.