As you are sending a URI to a document you have to make sure that the recipient can acces it :-)
To send images inside a mail the documents MIME type is not "txt/html" but rather "multipart..."
But I suggest to use
Mail::Sender which also allows you to send attachements and ships with examples in it's manpage.
Have a nice day
All decision is left to your taste