You could try
Mail::Header which is part of
MailTools
(but does not seem to show up on its own though :/)
Which lets you maniplate the headers with relative ease.
Although I do not think it has a function to return all the email
addresses you could look through the relevant header fields
and grab the addresses from there..
Update:
It would appear that ZZamboni types faster than I do.