After adding a attachment the mimetype of the message is replaced by 'multipart/mixed'. In the CssInlinerPlugin class I've added
if (($message->getContentType() === 'text/html') || ($message->getContentType() === 'multipart/mixed')) ```
Can I just do that ?