
Weekend Annoying Task Challenge: MailDraft AI
Turning Routine Messages Into Ready-to-Send Emails
Writing an email sounds simple until you actually have to write one.
Whether it's requesting leave, following up after an interview, asking for a meeting, sending a project update, or writing a formal request, I often spend more time deciding how to phrase the message than actually communicating what I need.
For this week's Weekend Annoying Task Challenge, I decided to turn that small but repetitive annoyance into an application.
Meet MailDraft AI — a lightweight AI-powered application designed to turn a few lines of context into a polished, ready-to-send email.
Vision & What the App Does
The idea behind MailDraft AI is simple:
Tell the app what you want to communicate, and let AI handle the repetitive part of writing the email.
Instead of opening an email client and spending several minutes thinking about the subject line, structure, tone, and wording, the user provides a few details such as:
- Type of email
- Recipient
- Context or purpose
- Preferred tone
- Desired length
For example, a user could enter:
Email Type: Interview Follow-up
Recipient: Hiring Manager
Context: I completed my interview three days ago and would like to politely ask for an update.
Tone: Professional
Length: Short
MailDraft AI then generates an appropriate subject line and complete email body.
The user can review the generated message, copy it, make any necessary changes, and send it using their preferred email service.
I intentionally kept the application focused. It isn't trying to replace an email client or become a complicated productivity platform. It solves one specific annoying task: writing routine emails repeatedly.
How I Built It
I wanted the architecture to remain simple because one of my goals during this challenge was to avoid over-engineering the solution.
The application collects the user's email requirements and sends them to an AWS-powered backend.
The backend converts those details into a structured prompt containing instructions about the recipient, context, tone, and expected output.
That prompt is then processed using Amazon Bedrock with an Amazon Nova model.
Rather than asking the model to generate arbitrary text, the prompt instructs it to return a concise email with an appropriate subject and body while avoiding information that wasn't provided by the user.
The basic workflow is:
User Input → AWS Lambda → Amazon Bedrock → Generated Email → User
For the web experience, the goal is to keep the interface equally simple: enter the context, choose the tone, click Generate Email, and receive a draft.
AWS Services Used & Architecture Overview
MailDraft AI uses a small serverless AWS architecture.
AWS Lambda
AWS Lambda acts as the backend logic for the application.
It receives the email details, validates the input, creates the prompt for the AI model, invokes Amazon Bedrock, and returns the generated email.
Using Lambda means I don't need to provision or maintain a traditional backend server.
Amazon Bedrock
Amazon Bedrock provides the generative AI capability behind MailDraft AI.
The application uses an Amazon Nova model to understand the user's intent and transform short, informal context into a structured professional email.
This is the core intelligence of the application.
AWS Amplify
AWS Amplify is used for hosting the web interface, providing a simple way to deploy the frontend on AWS and make MailDraft AI accessible through a browser.
The architecture can be summarized as:

The agent workflow is triggered when the user clicks the Generate Email button after providing the required context.
I deliberately avoided adding databases, scheduled workflows, and other services that weren't necessary for the core problem. The challenge encouraged building a focused tool that does one thing well, and that became an important design principle for this project.
Challenges During Development
One of the interesting parts of building MailDraft AI was deciding what not to build.
It would have been easy to add saved drafts, user accounts, direct email sending, scheduling, analytics, and several other features.
But every additional feature would move the application further away from its original purpose.
Another challenge was prompt design. A good email isn't simply grammatically correct. The model needs to understand the relationship with the recipient, the purpose of the message, the requested tone, and how much detail is appropriate.
Creating structured prompts helped produce more consistent results while keeping the generated emails concise and useful.
What I Learned
This challenge reinforced an important lesson for me:
Useful AI applications don't always need to be complicated.
Sometimes AI is most valuable when it quietly removes a repetitive step from an existing workflow.
Through MailDraft AI, I gained more hands-on experience with:
- Building serverless applications using AWS Lambda
- Integrating generative AI through Amazon Bedrock
- Working with Amazon Nova models
- Designing prompts around structured user input
- Connecting AI capabilities to a practical user workflow
- Keeping cloud architecture focused on the actual problem
Most importantly, the challenge pushed me to start with the problem rather than the technology.
Instead of asking, “What can I build with AI?”, I started with:
“What small task do I repeatedly find annoying?”
MailDraft AI was the answer.
What's Next?
The first version intentionally focuses on generating emails quickly.
Future improvements could include reusable templates for interview follow-ups, leave requests, meeting requests, project updates, thank-you emails, and job applications.
Other possibilities include multilingual drafting, tone rewriting, and optional draft history.
But for this challenge, the goal remains simple:
Provide the context. Choose the tone. Generate the email. Get back to what actually matters.
Source Code
MailDraft AI is available as an open-source project on GitHub:
I'll continue improving the project and documenting the implementation as I build further iterations.
#productivity
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article