Delete some extra files and fixed somes bugs in the mailers.