remove unused lib folders
intercept mail sent from staging environment