[TASK] Remove some code unused since the arrival of swiftmailer.
[BUGFIX] Resolve correct inlining of images using swiftmailer.
[BUGFIX] Getting attachments to work again.