Turn local mailbox exports into job, COOP, and Tamheer application reports.
Project description
Inbox Application Reporter
Make a messy job-application inbox behave.
This reads an .mbox or .eml export, finds likely job/coop application emails, groups them by company, guesses status, and writes CSV, HTML, and PDF outputs.
It is local-first on purpose: no email password, no mailbox login, no cloud upload, no mysterious "please grant full inbox access" jump scare.
Origin Story
This started because someone had more than 200 applications scattered across email and wanted a PDF before the inbox became a second job. The first version came from the most honest product-management format known to humanity: a panicked chat message and a screenshot.
Shoutout to @justAbdulaziz10, the original chaos coordinator. Without that inbox situation, this tool would still be a napkin idea pretending to be a roadmap.
Features
- Reads Gmail/Google Takeout-style
.mbox, Apple Mail.mboxpackages, and Outlook-friendly.emlfolders. - Detects likely job, COOP/cooperative training, Tamheer, internship, trainee, and application emails.
- Supports English and Arabic matching terms.
- Handles Saudi phrases like
التدريب التعاوني,برنامج التدريب التعاوني,التدريب على رأس العمل, andتمهير. - Groups emails by guessed organization.
- Classifies application type as
coop,tamheer,internship,graduate_program,job,training,career_portal, orunknown_application. - Infers rough status:
submitted_or_received,under_review,action_required,interview,offer_or_accepted,start_or_onboarding,ineligible,closed_or_full,rejected, orpossible_application. - Adds
confidenceandreview_bucket; only high-confidence rows with clear type and status areauto_classified. - Extracts links, sender details, subjects, snippets, and dates.
- Writes editable CSV files plus organized HTML/PDF reports.
Fast Path
git clone https://github.com/gqnxx/the-GOAT.git
cd the-GOAT
make demo
That creates a fake mailbox and writes demo outputs under .demo/.
If you are using a real inbox, read the Export Guide first.
Useful commands:
make help
make check
make test
make demo
make report INPUT=/path/to/Mail.mbox
make audit INPUT=/path/to/Mail.mbox
make path-smoke
make agent-check
Install
Python 3.9+ is supported.
git clone https://github.com/gqnxx/the-GOAT.git
cd the-GOAT
python3 -m pip install -r requirements.txt
Local package install:
python3 -m pip install -e ".[pdf]"
inbox-report --version
After the PyPI release, install it with:
python3 -m pip install "inbox-report[pdf]"
inbox-report --version
The core CSV/HTML flow uses Python's standard library. PDF output uses reportlab; Arabic shaping in the PDF uses arabic-reshaper and python-bidi.
Usage
- Export Gmail from Google Takeout and include Mail only, or export an
.emlfolder from a desktop mail client. - Wait for the export email. Gmail Takeout can take minutes, hours, or longer for large mailboxes.
- Download and unzip the Takeout archive.
- Find the
.mboxfile inside the Mail folder. - Run:
Gmail / MBOX:
inbox-report /path/to/Mail.mbox
Same thing through Make:
make report INPUT=/path/to/Mail.mbox
Strict mode is the default. It is intentionally conservative and filters out social digests, store orders, newsletters, and weak keyword matches. If you expected results and got an empty report, use audit mode to inspect noisy candidates:
inbox-report /path/to/Mail.mbox --include-weak
make audit INPUT=/path/to/Mail.mbox
Audit mode is for review, not final proof. Treat needs_review rows as "look at this manually", not as confirmed applications.
EML folder:
inbox-report /path/to/exported-emails/
Direct script usage also works:
python3 inbox_application_reporter.py /path/to/Mail.mbox
Gmail Export Quick Steps
- Open Google Takeout.
- Click Deselect all.
- Enable Mail only.
- Click Next step.
- Choose
.zipand Send download link via email. - Click Create export.
- Wait for Google's email.
- Download, unzip, and find the
.mboxfile inside the Mail folder.
Large exports are normal. If it does not arrive immediately, wait; it does not mean the export failed.
Custom output paths:
inbox-report /path/to/Mail.mbox \
--out details.csv \
--summary-out companies.csv \
--html-out report.html \
--pdf-out report.pdf
Skip PDF generation:
inbox-report /path/to/Mail.mbox --no-pdf
Version:
inbox-report --version
Need the export steps? Start here:
PyPI
The PyPI package name is inbox-report. Publishing is configured through GitHub Actions trusted publishing, so no PyPI token is needed in the repo.
On PyPI's Trusted Publisher Management page, add a pending GitHub publisher with:
- PyPI Project Name:
inbox-report - Owner:
gqnxx - Repository name:
the-GOAT - Workflow name:
publish.yml - Environment name:
pypi
Then publish by creating a GitHub Release or manually running the publish workflow from GitHub Actions.
Outputs
applications.csv: every matched email with sender, date, subject, guessed organization, application type, status, confidence, review bucket, links, matched terms, and snippet.applications_summary.csv: one row per guessed organization with counts, first/last seen dates, status counts, type counts, review counts, domains, and latest subject.applications_report.html: browser-friendly report grouped by organization.applications_report.pdf: PDF report when optional PDF dependencies are installed.
Privacy Model
This tool reads a local export file. It does not send email, log in to Gmail, modify messages, upload data, or call an external API.
Mailbox exports can contain sensitive personal data. Treat .mbox, CSV, HTML, and PDF outputs as private unless you intentionally redact and share them.
Accuracy Guardrails
The classifier is rule-based and tested with synthetic fixtures for Gmail-style confirmations, LinkedIn, Workday, Greenhouse, Lever, SmartRecruiters, Saudi COOP, Tamheer, interviews, offers, rejections, onboarding, store orders, newsletters, social digests, and marketing emails.
Strict mode favors precision. Audit mode exists for recall and manual review. Do not present needs_review rows as confirmed applications.
Contributing
PRs are welcome. The best PRs make detection better without making the privacy story worse.
Good areas:
- better status detection
- more ATS domains
- safer organization guessing
- tests with synthetic fixtures
- packaging
Please do not include real mailbox exports, personal emails, screenshots of inboxes, or private identifiers in issues or PRs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file inbox_report-1.0.0.tar.gz.
File metadata
- Download URL: inbox_report-1.0.0.tar.gz
- Upload date:
- Size: 24.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fbeb1bf0253212cb43e47d13e15e0c45fe85d58546e495365c68ea98914bd4e2
|
|
| MD5 |
5bcc3643df348165cf6f92139de4773d
|
|
| BLAKE2b-256 |
3e692e6b0ad95d85f77b7723af75bc667f5e2c2ba49e5f6e0700dcdbd6715748
|
Provenance
The following attestation bundles were made for inbox_report-1.0.0.tar.gz:
Publisher:
publish.yml on gqnxx/the-GOAT
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
inbox_report-1.0.0.tar.gz -
Subject digest:
fbeb1bf0253212cb43e47d13e15e0c45fe85d58546e495365c68ea98914bd4e2 - Sigstore transparency entry: 1441587036
- Sigstore integration time:
-
Permalink:
gqnxx/the-GOAT@f818b98e2d1898195d4e48d6d2809c799636bf60 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/gqnxx
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f818b98e2d1898195d4e48d6d2809c799636bf60 -
Trigger Event:
push
-
Statement type:
File details
Details for the file inbox_report-1.0.0-py3-none-any.whl.
File metadata
- Download URL: inbox_report-1.0.0-py3-none-any.whl
- Upload date:
- Size: 17.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0e5cb18029d745258e5316add5efea9e29be11bb7ed85d4e7ef1912f9a265c9
|
|
| MD5 |
88ff79198865c63d2a6345343490bf36
|
|
| BLAKE2b-256 |
329ee5c8b9970980a8b2a857f4c9608e72c7813fda625a0f4cc25f23bcd5f466
|
Provenance
The following attestation bundles were made for inbox_report-1.0.0-py3-none-any.whl:
Publisher:
publish.yml on gqnxx/the-GOAT
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
inbox_report-1.0.0-py3-none-any.whl -
Subject digest:
c0e5cb18029d745258e5316add5efea9e29be11bb7ed85d4e7ef1912f9a265c9 - Sigstore transparency entry: 1441587160
- Sigstore integration time:
-
Permalink:
gqnxx/the-GOAT@f818b98e2d1898195d4e48d6d2809c799636bf60 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/gqnxx
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f818b98e2d1898195d4e48d6d2809c799636bf60 -
Trigger Event:
push
-
Statement type: