Gravar-mail: Hybrid approaches to optimization and machine learning methods