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
- Host: GitHub
- URL: https://github.com/davidsmfreire/email-invoice-manager
- Owner: davidsmfreire
- Created: 2025-01-27T21:40:44.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-04-24T07:28:21.000Z (5 months ago)
- Last Synced: 2025-04-24T08:34:16.659Z (5 months ago)
- Topics: gmail, gmail-api, golang, google-drive, google-drive-api, invoice, invoice-management
- Language: Go
- Homepage:
- Size: 15.6 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`.