I have an agent which runs over night and checks a set of criteria in a database. If a document matches this criteria it sends out an email to a few users along with a document link.When the user receives this mail and clicks on the document link however, it doesn’t open the document as it should, instead it opens the database at the view level.