email template fix for thumbnails