I'm sorry but if you run a program with the capability to send emails you are responsible for it. "It's AI magic we don't understand" is no excuse.