decoupling net.mail