email: Fix inline images sent in old HTML markup

Fixes #661