fix email-reports to work with html reports, and GET params