Enviar rexistro por email: Modeling optimal treatment strategies in a heterogeneous mixing model