Skip to content

Instantly share code, notes, and snippets.

@policevideorequests
Created February 8, 2015 06:37
Show Gist options
  • Save policevideorequests/62c00d731b83eb245d4e to your computer and use it in GitHub Desktop.
Save policevideorequests/62c00d731b83eb245d4e to your computer and use it in GitHub Desktop.
if 'XXXXX' in cols['body']:
cols['body'] = '*******Email content withheld due to my address being in the email********'
if 'password reset' in cols['Subject'].lower():
cols['body'] = '*******Email content withheld due to email containing link to reset password********'
if 'password:' in cols['body'].lower():
cols['body'] = '*******Email content withheld due to a password being in the email********'
if 'XXXX' in cols['body']:
cols['body'] = '*******Email content withheld due to my personal phone number being in the email********'
if 'XXXXXXXXXX@gmail.com' in cols['To'] or 'XXXXXXXXXXXXXXXXXXXX.org' in cols['To']:
cols['To'] = 'secret girlfriend'
cols['body'] = '*******Communications with girlfriend are completely withheld including name/email.********'
if 'XXXXXXXXXX@gmail.com' in cols['From'] or 'XXXXXXXXXXXXXXXXXXXXX.org' in cols['From']:
cols['From'] = 'secret girlfriend'
cols['body'] = '*******Communications with girlfriend are completely withheld including name/email.********'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment