test error emails