Don't get the payload twice, we already have a variable for it.
Remove un-necessary continue and pass statements.
a few pep8 fixes
Allow to pass the email file directly to extractmail for debugging or other uses.