fixed exception being thrown when looking a layout where an image whose src was a placeholder
updated version of email-templates, and own version