separated email utils to its own module