- Testing the system without real API calls
- Demonstrations and screenshots
- Development and debugging
- Learning the system before connecting real accounts
Overview
Demo mode uses pre-generated fake data with a theme from The Expanse (sci-fi series), including clients like Tycho Station, Rocinante Corp, and MCR.Activating Demo Mode
Demo mode is controlled by a single flag file for Gmail data:Run morning routine
When this file exists,
email_lite returns demo data instead of calling Gmail API:The file
demo_gmail_fake.yaml is in .gitignore and won’t be committed to version control.Demo Data Files
From/home/daytona/workspace/source/config/demo/README.md:1-5:
emails_fake.json: List of fake emails (The Expanse theme) to use in the morning demo when you don’t want to call real Gmail.- Activation: Create a
demo_gmail_fake.yamlfile in the root ofconfig/(can be empty). This file is in.gitignore; if it exists,email_litereturns this data instead of querying Gmail. - Reset: The command
python scripts/reset_config.pydoesn’t deleteconfig/demo/or the flag; ifdemo_gmail_fake.yamldoesn’t exist, it (re)creates it so demo remains available after a reset.
Fake Email Data
The demo emails are defined inconfig/demo/emails_fake.json:
emails_fake.json
Demo Clients
The demo includes five fictional clients inspired by The Expanse:Client Structure
Each demo client has a complete directory structure:Client Configuration
Exampleclient.yaml for Tycho:
tycho/client.yaml
Client Matching
Demo clients are configured inconfig/clients.yaml:
emails_fake.json, so demo emails automatically route to the correct client bitácoras.
Using Demo Data
Morning Routine with Demo Data
With demo mode active:- Demo emails from The Expanse characters
- No actual Gmail API calls
- Bitácoras updated with demo client activity
- All other features work normally (Calendar, Asana still use real APIs unless mocked separately)
Testing Client Matching
Demo mode is perfect for testing client keyword matching:Testing Bitácora Updates
See demo data flow into bitácoras:Extending Demo Data
Add More Demo Emails
Editconfig/demo/emails_fake.json:
Add More Demo Clients
Demo Mode Limitations
What’s mocked:- Gmail emails (via
emails_fake.json)
- Google Calendar events
- Asana tasks
- Google Docs transcriptions
- Google Meet API calls
Reset Configuration
Thereset_config.py script preserves demo mode:
- Keep
config/demo/directory intact - Recreate
demo_gmail_fake.yamlif it doesn’t exist - Reset other config files to defaults
Theme: The Expanse
Demo data uses names from The Expanse sci-fi series:- Tycho Station: A massive space station and shipyard
- Rocinante Corp: Named after the ship Rocinante
- MCR (Mars Congressional Republic): Martian military
- Mao-Kwikowski: A powerful corporation in the series
- Acme: Generic placeholder (not from the show)
- Fred Johnson (Tycho Station)
- James Holden (Rocinante)
- Various Mars and corporate personnel
This is just for fun and demonstrations. Replace with your real clients when ready for production use.
Related Documentation
- Client Bitácoras - See how demo emails flow into client logs
- Task Ordering - Demo clients follow the same day-of-week prioritization