Gravar-mail: Problems of optimal transportation on the circle and their mechanical applications