Gravar-mail: Fast algorithms for approximate circular string matching