The global carrier network is constantly changing. With more than 1,000 mobile networks in the world and multiple routes towards each network, it is impossible to manually maintain optimal routing for SMS delivery for all the networks. With a vast amount of route choices, machine learning can help in picking optimal routing, optimize for maximum message delivery, and minimized delivery latency. In this talk, we will give an overview of how Twilio automatically optimizes message delivery using machine learning to improve conversion rate. You will learn how to pick a suitable machine learning approach for your automation problem, how to deal with changing environments, and how to measure your algorithms performance.