I had a situation recently where I had to extract about forty emails with attachments in Thunderbird. Doing this manually wastes so much time and I was looking for a way to extract all the attachments automatically. Thankfully genbeta posted a reference to the Thunderbird Attachment Extractor extension which does exactly what I was looking for.

