prevent duplicate preindex email and add more detail to email

https://github.com/dimagi/dimagi-utils/pull/118