Firing emails when it is not suppose to

Your plugin works fantastic! My client loves it. But we have 1 small issue. We have a test site of the clients live site so we can test potential features requested by the client.

The problem comes with, posting blogs in the test environment, since there is a live site the users will get 2 emails (1 from the live site another from the test site.) Is there a way to tell it to not send emails when its on the test site? I have tried but it keeps sending them anyway.

Any help is greatly appresheated!