mimepostcard /path/to/some/graphic.jpg firstname.lastname@example.org
You can point it at a .gif file as well. The special address "-" just causes the message to go to STDOUT.
This sends a mesasge both as HTML and plain text. I use "Data"; you would probably use "Path".
2023-07-20 perl v5.38.0 User Contributed Perl Documentation