White House office wins ruling on e-mail records