Enviar rexistro por email: Automated and Optimized Scheduling for CNC Machines