refactor mail setup