add card error emails
cleanup the indexing of the files