fixes ZEN-15584 do not attempt to send the email when rasterize.js fails
Merge pull request #604 from zenoss/feature/ZEN-15584

fixes ZEN-15584 do not attempt to send the email when rasterize.js fails