The import succeeds, but the script stops at that point. If this happens a lot, the effect will be to slow down the imports. Worst case, the script processes only 1 file per run. Not too far from what we've been seeing.
As it turns out, the set of contact addresses for a person may be empty. All that's needed is to suppress the sending of email from ImportProcess.run() in that case.
The import succeeds, but the script stops at that point. If this happens a lot, the effect will be to slow down the imports. Worst case, the script processes only 1 file per run. Not too far from what we've been seeing.
As it turns out, the set of contact addresses for a person may be empty. All that's needed is to suppress the sending of email from ImportProcess.run() in that case.