Schools in Forres, Moray, as well as Auldearn, Nairn, and Inverness were sent a malicious email.