adding better indent and detailed email msg