← Catalog

MailLeads AI — Universal Email → AI → Telegram Engine
Source code (Python, ZIP archive). Launch: cp .env.example .env → fill in → python3 main.py email.

MailLeads AI — Universal Email → AI → Telegram Engine

Version 1.0.0 Updated: 2026-09-17 Quality: 92/100

Turns any email lead campaign into a stream of ready, AI-scored cards in Telegram — with a reply draft vetted by a second AI.

🎯
Who it is for
Freelancers, agencies, experts, and service providers who receive leads/inquiries via email and want to respond faster; developers looking for a ready-made AI pipeline tailored to their own source.
✅
Result after purchase
Every new lead email turns into a ready-to-use card in Telegram with an AI score and a draft reply. Save 1–2 hours a day on sorting through emails and responding.
📁 What is inside (ZIP, 20 files)
  • README.md
  • REPORT.md
  • config/settings.json
  • diag_test_imap.py
  • main.py
  • scripts/healthcheck.sh
  • src/ai/analyzer.py
  • src/ai/generator.py
  • src/ai/llm.py
  • src/ai/reviewer.py
  • src/bot/runner.py
  • src/bot/telegram.py
  • …and 8 more

Problem

You receive dozens of emails with new inquiries/leads, you manually read each one, assess whether to reply, and spend hours crafting responses. Some leads get lost in the flood of emails.

Solution

The engine reads your email, filters out the noise, scores every lead across 5 metrics, drafts a personalized reply, has it reviewed by a second AI, and sends you a ready-made card in Telegram with action buttons. All you do is open the link, copy the draft, and hit send — seconds instead of hours.

More details

MailLeads AI is a universal engine that reads your inbox via IMAP, automatically understands the structure of a newsletter email, extracts the lead (title, description, budget, link, category), scores it with AI, prepares a personalized draft reply, and has it reviewed by a second AI reviewer — then sends a ready-to-use card to Telegram with action buttons. It isn't tied to any specific platform: it works with newsletters from freelance marketplaces, job boards, tenders, classifieds groups, affiliate programs — any service that sends emails about new requests/leads. Every module is isolated, so the engine easily adapts to a new source by swapping the parser. The key safety rule: the engine NEVER sends anything on your behalf. It only prepares a draft and reminds you — the final action is yours to take manually. It runs autonomously as a systemd service with auto-restart, healthcheck, and a task queue (nothing is lost if AI or Telegram fails).

What you get

  • Complete source code of the engine (Python 3.11+), 20+ files
  • main.py with email / bot / run / loop / test modes
  • src/sources — universal IMAP collector and email parser
  • src/ai — Analyzer, Generator, Reviewer, LLM client (OpenAI/DeepSeek/Groq)
  • src/db/store.py — database with history, statistics, and queue
  • src/bot — Telegram bot with cards and management commands
  • diag_test_imap.py — email diagnostics (read-only)
  • scripts/healthcheck.sh — service health check
  • tests/ — unit tests and E2E test
  • .env.example — template for all settings
  • README.md and REPORT.md — full documentation and workflow

Installation guide

1. Unpack the archive into your project folder. 2. cp .env.example .env — fill in IMAP_HOST/PORT/USER/PASSWORD/FOLDER, your AI provider key, and your Telegram token. 3. Verify your email connection: python3 -m diag_test_imap (you should see ✅ connection/authorization/search/read). 4. Launch it: python3 main.py email (or install the systemd service kwork-email-agent.service). 5. Subscribe to the newsletter you want using this mailbox — cards will be delivered to Telegram. 6. (Optional) Start the bot: python3 main.py bot — commands /stats /projects /pause. Step-by-step documentation is available in README.md and REPORT.md.

Requirements

Python 3.11+. An email inbox with IMAP (Gmail/Yandex/Mail.ru + App Password). A Telegram bot (@BotFather) + your chat_id. An OpenAI / DeepSeek / Groq API key.

Options and pricing

Choose the level that suits you:

  • Basic — $59 · Полный исходный код движка + документация. Разворачиваете сами.
  • Standard — $79 · Исходник + подробный гайд по внедрению под ваш источник и AI-провайдер.
  • Extended — $108 · Исходник + персональная настройка под вас: подключение ящика, точная настройка парсера под формат ваших писем, тюнинг промптов, запуск на вашем сервере.
📦 Bundle Набор Automation

Bundle: MailLeads AI — универсальный движок «Email → AI → Telegram» + AI-воронка продаж под ключ + AI-воронка для вебинаров

$197 $148 save $49

Frequently asked questions

What is included?

Turns any email lead campaign into a stream of ready, AI-scored cards in Telegram — with a reply draft vetted by a second AI.

In what format will I receive the files?

After payment you get a secure link and a ZIP archive with all materials. The link is shown on the order page and available via the Telegram bot.

How long is the download link valid?

The link is active for 24 hours, up to 5 downloads.

Do I need special skills?

The product is designed for entrepreneurs and specialists. A step-by-step guide is included; no programming skills required.

Can I get a refund?

For refunds, contact support: [email protected].

See also