Added a debug variable to test the mail locally and on live server.