Uploaded documents are not being displayed (404 link in emails)