The court has heard how Janice McKnight , secretary to Ms Wark , had accessed e-mails sent between Mr Clement 's colleagues , including Hamish Barbour , the husband of the television presenter Muriel Gray .