Better error handling when we get bad post data from related_data.
Merge pull request #1833 from capndesign/email-insight-posts-errors

Insights email template: Include better error handling when we get wedged-in post data from related_data