Notice the Content-ID header matches the img’s cid: URI.
There is currently no markdown-related code to do the transformation
for you (when the markdown is added to the message body either as HTML
or as markdown).
In other words, I’m sorry, there is no way to do it at the moment. Feel
free to file a feature request in the GNOME’s GitLab: