send email when preindex is done