updated purge script and remove conf dependency to sendemail.py