Enviar Registro por Correo electrónico: From prediction to sustainability: AI for smart energy management in wastewater treatment plants