Gravar-mail: Optimized mixed Markov models for motif identification