Sometimes there’s an easy solution to the original problem[1].
Disable emails, import the users, then re-enable emails.
see x-y problem ↩︎