add ignore file list and solve the email exception