Beautify and extracted detectMailFromServices