Jcs/attachments as link

Note, a couple DB changes. We may not want to do this, it would be better to actually attach the attachment to the email.