email: Fix inline images sent in old HTML markup

Maybe fixes #661