I've written a windows service that actually imports a CSVin dynamics CRM. It is supposed to do its job on daily basis earlier in the morning around 5a.m. It also sends an email if any error occur. Now, it is working fine but sometimes it sends a bulk of emails that is around 1000. And when I drill down to CSV everything is imported without any problem.
Can anybody let me know how can I fix the issue as its embarrassing.