Gravar-mail: Using Markov Chains and Multi-Objective Optimization for Energy-Efficient Context Recognition †