NZ Post has returned to profit after restructuring its urban retail network.