Im using the winpython IDE to run that script for the unpacking the email. The usage says unpackmail [options] msgfile. I type unpackmail -d filename and it gives me a syntax error. What modifications did u do to that module to make it work?