ই-মেইল নথি: Rapid trial-and-error learning with simulation supports flexible tool use and physical reasoning