The way to include images in your HTML so they get used in the HTML mail, is by using the "cid:" (pseudo-)protocol (short for "content ID"), as described in
RFC 2111, with sample code available for various languages
on the web, and for Perl in the docs for
MIME::Lite.