removing environment and emails