Send emails if errors occur during an import

@RickCSong @RISCfuture