Military action depends on how seriously Iran takes Trump, envoy says