Read gif from mail and store it into a document word


please i need help, i’ve received and read an smtp mail message, my question is if it’s possible to read some image which is included into the body mail (chart.gif , table.gif , …) in order to extract their links ?

thank you in advance,