Found a possible typo, could you please check.

mailimap_fetch_att_new_xgmmsgid should be mailimap_fetch_att_new_xgmthrid in this file.