Commit Graph

3 Commits

Author SHA1 Message Date
Claude
1450cfa2c8
feat(dealix): email HTML + language detection + config fixes — 40/40 tests pass
Module 1 — Email sender enhanced:
- HTML wrapper with Arabic RTL support
- List-Unsubscribe header for compliance
- send_email_batch() with configurable delays (2s between each)
- Gmail app password auth error message
- Plain text + HTML multipart
- Unsubscribe line auto-appended (ar/en)

Module 2 — Bilingual email generation:
- language field added to EmailGenerateRequest (ar/en)
- _detect_language() auto-detects from website domain
- _generate_email_en() produces full English email set
  (subject, body, 2 follow-ups, call script, LinkedIn msg)
- Arabic remains default for Saudi domains
- SECTOR_PAIN_MAP_EN for 4 key sectors

Module 3 — Config fixes:
- OLLAMA_BASE_URL + OLLAMA_MODEL (were referenced but missing)
- LLM_CACHE_ENABLED + LLM_CACHE_TTL
- GREEN_API_INSTANCE_ID + GREEN_API_TOKEN
- Outreach rate limits: WHATSAPP_DAILY_LIMIT=15,
  EMAIL_DAILY_LIMIT=50, EMAIL_BATCH_SIZE=10

All 40 tests pass (20 D0 + 6 fault + 14 automation).

https://claude.ai/code/session_01W1rJthWDkasijTdXCfxVHs
2026-04-25 18:43:40 +00:00
Sami Assiri
1744cb7134 Dealix OS Frontend implementation v1 2026-03-31 19:53:49 +03:00
Claude
f1852c1121
Add SalesMatic AI Sales SaaS Platform - Complete Foundation
Full-stack AI-powered sales automation platform for Saudi SMEs:

Backend (FastAPI + PostgreSQL):
- Multi-tenant architecture with row-level isolation
- JWT auth with RBAC (owner/manager/agent/admin)
- Lead, Customer, Deal, Pipeline, Activity, Message, Proposal models
- Dashboard analytics API (overview, pipeline, revenue)
- WhatsApp Business API, Email (SMTP/SendGrid), SMS (Unifonic) integrations
- Celery + Redis workers for automated follow-ups and scheduled messages
- Property model for Real Estate module (Riyadh districts)
- Hijri date utilities, Arabic/English localization

Frontend (Next.js + Tailwind):
- Professional Arabic RTL landing page with 10 sections
- Brand identity: SalesMatic (سيلزماتك) with custom SVG logo
- Color system: Trust Blue #0F4C81, Growth Teal #00BFA6, CTA Orange #FF6B35
- IBM Plex Sans Arabic + Inter typography
- Responsive design, dark hero section, pricing table, FAQ

Industry Templates:
- Healthcare/Clinics: pipeline stages, WhatsApp message templates, auto-workflows
- Real Estate Riyadh: 20 districts, property tours, payment plans, matching

Infrastructure:
- Docker Compose (PostgreSQL, Redis, Backend, Celery, Frontend, Nginx)
- Nginx reverse proxy config
- Makefile for common operations

https://claude.ai/code/session_01LLR7jzpyNRwDA9kojtT3CW
2026-03-28 03:06:53 +00:00