Skip to the content.

πŸ“¬ IAcine Mail | Intelligent Gmail Assistant with Local LLM

image

πŸ“– Introduction

IAcine Mail is an intelligent Gmail assistant powered by a local LLM (Llama 3.2:b). It automatically reads, analyzes, and generates professional replies to your unread Gmail messages β€” all while preserving full data confidentiality by processing everything locally.

πŸš€ Designed to boost productivity and reduce email overload, IAcine Mail turns your inbox into a well-oiled machine.

πŸ” Privacy-first: No emails are ever sent to external servers.

βš™οΈ Features

βœ”οΈ Automated Email Retrieval – Reads unread messages from your Gmail inbox
βœ”οΈ Smart Reply Generation – Uses a local LLM to craft high-quality responses
βœ”οΈ Draft-Only Mode – Replies are saved as Gmail drafts for manual review
βœ”οΈ OAuth 2.0 Integration – Securely connects to your Google account
βœ”οΈ Terminal-based UI – Lightweight and straightforward
βœ”οΈ Fully Local Execution – Ensures complete data privacy

πŸ—οΈ Technologies Used

πŸ“¦ Installation

1️⃣ Clone the Repository

git clone https://github.com/Yacine-Mekideche/iacine-mail.git
cd iacine-mail

2️⃣ Install the dependencies

pip install -r requirements.txt

3️⃣ Add your credentials

Download your OAuth 2.0 file from Google Cloud Console, and place it in the root of the project as:

credentials.json

β˜‘οΈ Make sure to enable the following APIs in your GCP project: Gmail API People API

πŸ” On first run, a browser will prompt you to log into your Gmail and authorize access. A token.pickle file will be created for future sessions.

▢️ Run the assistant

python API_mail2.py

Once authenticated, IAcine Mail will:

Scan your unread emails

Generate high-quality responses

Save them as drafts in your Gmail

🟒 Emails will not be sent automatically β€” you remain in control.

Technical Architecture

Diagramme sans nom drawio

🎯 Demo

IAcine Mail - DΓ©monstration VidΓ©o

πŸ“¬ Contact Me

πŸ’‘ Let’s connect! Whether you’re interested in AI, Machine Learning, or tech collaborations, feel free to reach out.

Website
LinkedIn
GitHub
Malt
YouTube

πŸ“© Email for business inquiries: contact@iacine.tech


Β© 2025 IAcine. All rights reserved.