Script
Last updated on May 3, 2026
Screen Recording Script for MailPilot Submission
1. Quick Intro (15s)
"Hi, I'm Shubhojeet. This is MailPilot - a Gmail client with an AI assistant that controls the UI through natural language. The assistant can compose emails, filter your inbox, open threads, and execute actions - not just answer questions."
2. Gmail OAuth Login (20s)
"Let me start by authenticating with Gmail. I'll click the login button, which redirects to Google's OAuth flow. Once authorized, the app receives an access token and refreshes it automatically for offline access."
3. Manual Email Operations (45s)
"First, let me show the basic mail client functionality. Here's the inbox view with real emails from my Gmail account. I can navigate to the Sent folder to see emails I've sent. I'll open this email to read the full content in the detail view. Now I'll compose a new email manually - filling in the recipient, subject, and body, then sending it."
4. Assistant Compose Demo (30s)
"Now for the AI assistant. I'll open the assistant panel and ask it to compose an email. Watch this: 'Send an email to shubhoeducation@gmail.com with subject Meeting Tomorrow and body Let's meet at 3pm.' The assistant opens the compose view and automatically fills in all the fields. I can edit if needed, then click send."
5. Assistant Filter Demo (30s)
"The assistant can also filter emails. I'll ask: 'Show me emails from 10 days.' The assistant applies a date filter and the inbox updates to show only emails from that timeframe. This isn't just a text response - the actual UI state changes."
7. Context-Aware Demo (30s)
"One of the key features is context awareness. I'll open this email from random. Now I'll tell the assistant: 'Reply to this.' The assistant knows which email I'm currently viewing and pre-fills a reply draft with the correct recipient and subject line."
8. Real-Time Sync Demo (30s)
"The app also has real-time sync. I'll send a test email from another Gmail account, and watch it appear in the inbox without any manual refresh. This uses Gmail's Watch API with push notifications."
10. Architecture Summary (30s)
"The core idea is that AI controls the product through typed actions, not the DOM. The assistant emits structured UI actions that drive the same state layer used by normal user interactions. This makes the system type-safe, testable, and easy to extend. Tech stack is Next.js, TypeScript, Drizzle ORM, Gmail API, and OpenAI with structured output."
Tips for Recording
- Speak clearly and at a moderate pace
- Point to UI elements as you mention them
- Pause briefly after each action to let the viewer see what happened
- Keep the demo email content simple and professional
- Have test emails ready for the search/filter demos
- Test the real-time sync timing before recording
Evaluation Criteria Alignment
| Section | Criteria | Weight |
|---|---|---|
| 2, 3, 4 | Mail integration works - send and receive real emails | 20% High |
| 3 | Inbox and Sent views display real data | 15% High |
| 3 | Compose and send works via UI | 10% Medium |
| 4 | Assistant can compose/fill the email form via natural language | 20% Critical |
| 5, 6 | Assistant can search/filter and update the main UI with results | 15% Critical |
| 7 | Assistant is context-aware (knows current view, open email, etc.) | 10% High |
| 8 | Real-time mail sync (no manual refresh) | 10% Medium |
Total estimated video length: 3-5 minutes