testing commit emails function