# AI Email Drafting Tool With Tone and Length Control

AI products · Creator, sole engineer · live

Writing the same kind of email repeatedly, in the right register, is a real recurring time cost - and generic AI drafts consistently land in the wrong tone.

Open: https://email-drafter-three.vercel.app

## The detail

Two modes: draft from scratch with a prompt plus optional tone and length hints, or refine an existing draft with instructions. Live preview before you copy or send.

Two design decisions worth naming. The draft and refine paths are separate endpoints rather than one endpoint with a mode flag, which gives genuine prompt-level control over each. And every API call in the frontend goes through a single thin wrapper module, so the base URL is environment-swappable and the entire backend can be replaced without touching a single component.

Python, FastAPI, React, Vite, Tailwind.

## What I did

- Built separate draft and refine endpoints rather than overloading one endpoint with a mode flag
- Funnelled all API calls through a single thin wrapper so the backend is swappable without touching components
- Implemented tone and length controls at the prompt level
- Set up hot reload on both sides for a fast development loop

## Stack

Python, FastAPI, React, Vite, API Design, LLM Integration

Case study: https://www.siddhvasudev.com/projects/ai-email-drafting-tool-with-tone
