Registre de correu electrònic: Learning optimal strategies in complex environments