patches.py: Add code to determine whether email looks like a patch