Updated attachmentcheck with notification and added cmis