Registre de correu electrònic: A Model of the Distributed Constraint Satisfaction Problem and an Algorithm for Configuration Desing