Rather an odd problem that I'm sure has a multitude of answers. Somebody sent me an email with a ton of images embedded into the email body.
Here's how the end of the raw message starts (it goes on for over a hundred different files):
...</body></html>=
--Apple-Mail=_AAAA58DC-2C74-402A-B582-AAAAAA4E33AA
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename=cat.jpeg
Content-Type: image/jpg;
name="cat.jpeg"
/9j/4AAQSkZJRgABAQAAAQABAAD/4gxYSUNDX1BST0ZJTEUAAQEAAAxITGlubwIQAABtbnRyUkdC
IFhZWiAHzgACAAkABgAxAABhY3NwTVNGVAAAAABJRUMgc1JHQgAAAAAAAAAAAAAAAAAA9tYAAQAA
AADTLUhQICAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABFj
...
Is there anything out there that can parse this raw email and turn it into a pile of pictures?