Police Scotland said at least 470 schools received the email but the warnings were immediately assessed as hoaxes.