The messages were sent via hacked digital workspaces to students and parents and included beheading videos