andrew-drogalis / CLI-Email-Scanner

Utilizes Gmail API to scan for new emails, download the attachments, read the PDF information, and place the attachment in the file system.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CLI Email Scanner

Table of Contents

About the Project

This project was by client request, to automate their process of receiving emails from employee's and organizing them in the company file system. Utilizing the Gmail API, the process was streamlined into a simple CLI. The email 'From', 'To', 'Subject', and attachments are parsed with a built in text and PDF parser.

An important part of this project was reorganizing the client file system to allow for a computer friendly interface. The old naming system was inconstant and would occasionally contain typos. This was replaced with a numerical unique ID which was assigned to each project.

The information in the email was automatically matched to the project in the file system. The application downloads the file and places it in the correct folder. Occasionally, information from the PDF is missing and the user is prompted to answer a multiple choice response, to fill in the missing information.

Screenshots

The main command line interface is used to display a stream of new emails that meet the prerequisite conditions. The user will be prompted by the application with numbered responses, as shown in the example below.

CLI-Email-
Scanner-Screenshot

License

This software is distributed under the GNU license. Please read LICENSE for information on the software availability and distribution.

About

Utilizes Gmail API to scan for new emails, download the attachments, read the PDF information, and place the attachment in the file system.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%