We've written a tool that uses FogBugz' API to import our ~40 users, and then ~40,000 bugs. Mostly this works fine. But if I leave email notification on during this process, it floods all our users with literally thousands of emails. I tried turning email notification off until the import was done, but then when I turned it back on, it sent out all those thousands of emails. I don't want to send any emails about any of the changes made to bugs during the import process.
Is there API I'm overlooking that would allow me to turn off email notification for each user until the import is done? (Or would that just queue the emails like the current approach does?)
Is there another approach I'm not thinking of?