Might just be some part of prod conf that's slipped into a testing environment. Pretty easy to happen if your test environment can access the Internet.
I've seen this exact thing happen at previous employer. Very easy mistake to make, given how easy it is to send emails. You'd think it would require a server or something.