Support for images in posts in insight email

Closes #1942