Python EmailRep
This is a python 3 library and cli module for interacting with the EmailRep service.
Installation
pip3 install emailrep --upgrade
or python3 -m pip install --upgrade emailrep
Quick Start (cli)
emailrep setup -k <your api key>
emailrep bill@microsoft.com
emailrep --report foo@bar.com --tags "bec, maldoc" --description "Phishing email targeting CEO"
Quick Start (python library)
from emailrep import EmailRep
emailrep = EmailRep('<your api key>')
emailrep.query("bill@microsoft.com")
emailrep.report("foo@bar.com", ["bec", "maldoc"], "Phishing email targeting CEO")
Full API docs can be found here.