[#1897] Add dynamic inline images to emails without first writing to disk