Giter Site home page Giter Site logo

imap-email-address-collector's Introduction

imap-email-address-collector

A Python script to scrape email addresses from all messages on an IMAP server.

Useful if an address book got lost and you want to recover contact email addresses from all incoming and outgoing emails.

Works by scanning "From" and "To" fields in message headers and tries to extract name and email address from them.

Outputs the found names and addresses to the terminal or a CSV file.

Usage

usage: imap-email-address-collector.py [-h] --host HOST --user USER
                                       [--csv CSV] [--nossl] [--donotannoyme]
                                       [--password PASSWORD] [--port PORT]

optional arguments:
  -h, --help           show this help message and exit
  --host HOST          imap host address
  --user USER          login username
  --csv CSV            (optional) output csv filepath
  --nossl              (optional) do not use ssl
  --donotannoyme       (optional) do not complain about non-ssl connections
  --password PASSWORD  (optional) login password (will be prompted otherwise)
  --port PORT          (optional) imap host port, defaults to 993

License

What?!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.