Update plugin.py

Instead of using keep_email, just compare on hash.