Skip to content
>_efeozhan.dev
Go back

gmAI: Intent-Driven Email Draft & Dispatch Platform

Project Status: Architectural Prototype / Archived Rails Application

gmAI is a productivity-focused web application engineered to remove the friction of professional email communication. The platform allows users to input unformatted, shorthand thoughts without worrying about grammar or tone, transforming them into structured, recipient-tailored drafts with mandatory pre-send approval.


Technical Stack & Architecture

Built as a lightweight, modern full-stack web application using the Ruby on Rails ecosystem:

[ Raw User Input & Context ] │ (Target recipient role, intent, tone selector) ▼ [ LLM Refinement & Parameter Mapping ] │ (Context-aware transformation, structural polishing) ▼ [ Interactive Review & Approval (mails#result) ] │ (Human-in-the-loop inspection & draft editing) ▼ [ ActionMailer Transactional Dispatch ]


Core Product Workflow

  1. Context & Intent Input (mails#new): The user provides raw thoughts alongside explicit metadata (e.g., target role: Academic Professor vs. Enterprise Client; urgency: High vs. Routine).
  2. Dynamic Tone Calibration: Prompt templates adapt formatting, formal openings, and phrasing to eliminate domain-specific etiquette overhead.
  3. Human-in-the-Loop Safety Gate (mails#result): Generated drafts are previewed with full manual override capabilities, ensuring AI never dispatches communications autonomously.
  4. Direct Delivery: Once approved, the message is dispatched through configured mailer pipelines.

Product Post-Mortem & Strategic Pauses

Development was archived after analyzing ecosystem trends and infrastructural constraints:

1. Native Workspace Commoditization

Major productivity ecosystems (such as Google Workspace with Gemini and Microsoft 365 Copilot) rapidly integrated native LLM composition bars directly inside web clients, reducing the necessity for external composition dashboards.

2. OAuth & Enterprise Compliance Boundaries

Moving from internal SMTP mailers to third-party Gmail API OAuth integration requires extensive security audits (CASA Tier 2/3 verification) and restricted-scope approvals, shifting project focus from core product development to compliance maintenance.


Key Learnings


🔒 Source Code & Inquiries

The codebase for this prototype is kept private as an internal case study. If you would like to discuss the Rails mailer architecture, Docker/Kamal configuration, or prompt engineering pipelines in detail, feel free to reach out:

📫 Contact: ozhanefe33@gmail.com


Share this post:

Previous Post
Multi-threaded Port Scanner & Banner Grabber in Python
Meow! Following you 🐾
Zuzu