Skip to content

Instantly share code, notes, and snippets.

View GypsyDangerous's full-sized avatar
🖥️
Coding

David Snyder GypsyDangerous

🖥️
Coding
View GitHub Profile
@GypsyDangerous
GypsyDangerous / delete_email.py
Created April 11, 2019 15:26 — forked from giovaneliberato/delete_email.py
Python script to delete emails from a specific sender at gmail
#coding: utf-8
import imaplib
import sys
'''
Simple script that delete emails from a given sender
params:
-username: Gmail username
-pw: gmail pw
-label: If you have a label that holds the emails, specify here