Added hash validation to email parameter