in reply to parsing mime emails (revised!)

MIME::Parser: can't flush: No space left on device

So it tries to write on a partition that's full. On a unixish system you can find out which one is full by running df.