← All projects

Case study

AI Email Composer

Drafts professional emails from a short prompt and sends them over SMTP.

Role
Personal Project
Year
2025
Status
Open source
Stack
Next.js · Express.js · MongoDB

Overview

Drafts professional emails from a short prompt and sends them over SMTP.

What it does

  1. 01

    Email generation from a natural-language prompt

  2. 02

    Tone selection — professional, friendly, formal

  3. 03

    Sends directly over SMTP

  4. 04

    Email history stored per user, with JWT authentication

The hard part

Getting consistent formatting out of a generative model. Constraining the output shape in the prompt did more than any amount of post-processing.

What it taught me

Prompt design, SMTP delivery, and how much of an AI feature is really just careful error handling.