An open API service indexing awesome lists of open source software.

https://github.com/davidsmfreire/email-invoice-manager

Simple email invoice manager that scrapes prices, with Gmail and Google drive integration
https://github.com/davidsmfreire/email-invoice-manager

gmail gmail-api golang google-drive google-drive-api invoice invoice-management

Last synced: 17 days ago
JSON representation

Simple email invoice manager that scrapes prices, with Gmail and Google drive integration

Awesome Lists containing this project

README

          

# Email Invoice Manager

Simple Golang CLI tool for scraping your email inbox, finding invoices, extracting their value (either from email body or pdf attachment), organizing and saving them, then sending you a message with an overview.

It is configuration based (see [configuration.json](./configuration.json)), which describes the invoice sources, where to find the price and the google drive destination folder.

Right now, these are the supported platforms:

- Inbox: Gmail (through google cloud API)
- Storage: Google Drive (through google cloud API)
- Messaging: Signal (through callmebot API)

## Running the CLI

Unfortunately, if you want to scrape invoice prices from PDF attachments, this CLI call to an external tool called `pdftotext`, which comes in a bundle of tools called [poppler-utils](https://www.google.com/search?q=how+to+install+poppler+utils). Make sure it is installed on your system and available in the PATH.

Either just do `go run .` or `go build` and use the executable `./email-invoice-manager`.