A "threatening" email was received by several schools across Halifax overnight, according to West Yorkshire Police.