Is it only downloaded JPEGs or are all the JPEGs on your computer being associated with Itunes?
I don't think the problem is with your BTYahoo mail although I could be wrong. Do you have any Apple software or iTunes synchronised with your PC to transfer photos music etc to Apple devices or to iCloud?
Thanks, pointing me away from Yahoo did the trick. The problem was in windows file associations