Skip to main content

Mail Bandit is a fast, lightweight tool that classifies emails into five categories using DistilBERT and XGBoost.

Project description

📬 mail-bandit

mail-bandit is a plug-and-play email classifier that reads emails from an Amazon S3 bucket and classifies them into 5 categories using a fine-tuned DistilBERT model and XGBoost classifier.


🚀 Features

  • ✅ Classifies emails into:
    • Offer Rollout
    • Rejection
    • Additional Information Required
    • General Communication
    • Unrelated to Application
  • ✅ DistilBERT embeddings + XGBoost classifier
  • ✅ Reads email data from .jsonl stored in S3
  • ✅ Easy to train, deploy, and extend

🛠 Installation

pip install mail-bandit

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mail_bandit-0.1.2.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mail_bandit-0.1.2-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file mail_bandit-0.1.2.tar.gz.

File metadata

  • Download URL: mail_bandit-0.1.2.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for mail_bandit-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1278f98316fec8eb9755c6459d4a33edaf9adc98caab33a67572ce78c5e664b0
MD5 987d264575dc7c88318e30321d1ddd8e
BLAKE2b-256 7f28a2f49ddba1a81810a8634f6920c4fe9e11be1d8ed2ab1a36e2208c6d4d4e

See more details on using hashes here.

File details

Details for the file mail_bandit-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: mail_bandit-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for mail_bandit-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f0e875435f444559483c61dae6bbc623be52f3b3a3a914d67aeb5b42e6b4e3ac
MD5 8c6c86eb808cfcf7136426e8baa8f736
BLAKE2b-256 d55d0e575a3d15d535967ce9493505c5623f7400a444f257b14fed87753d7193

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page