testing commit emails function. from moses-reg 2