How to stop emails from sending to registers after submissions?