Back to the drawing board again. I was so thrilled to get this working.. until I sent and received my first test-email. Started to dig into this a bit and found a great article.
I guess I'll have to handle the file logistics anyway. I'll venture into the following:
- enlist all SVGs and images needed in the email
- render each SVG separately with a chrome-image recipe and save the images at s3
- render the html-email with links to the saved files
I'd rather not have to do the above, but it seems that I have no choice if I want my emails to be readable in various mail clients. One upside is that I can probably solve the resolution and object-fit when I have an actual image to work with (compared to a an embedded base64 image).