A powerful terminal Gmail client built in Go that brings AI intelligence to your email workflow. Features local AI integration, advanced productivity tools, and seamless integrations with Slack, Obsidian, and more.
- Full email operations: compose, reply, forward, archive, search, and label management
- Advanced threading with conversation grouping and AI summaries
- VIM-style navigation and bulk operations (
d3dto delete 3,a5ato archive 5) - Powerful Gmail search with filters, date ranges, and size-based queries
- Email summarization with streaming support (Ollama & Amazon Bedrock)
- Smart label suggestions based on email content
- Custom prompt library with variable substitution and bulk analysis
- Local caching to avoid re-processing with SQLite storage
- Slack forwarding - Send emails to configured channels with AI summaries
- Obsidian ingestion - Transform emails into structured markdown notes (individual files or combined repopack)
- Calendar integration - RSVP to meeting invitations directly from emails
- Link & attachment management - Quick access to URLs and file downloads
- Adaptive layout that responds to terminal size changes
- Custom themes with runtime switching (Dracula, Slate Blue, Gmail Dark/Light)
- 100% keyboard navigation with fully customizable shortcuts
- Command system with auto-completion and command parity
Download pre-built binaries (recommended):
# Linux
curl -L https://github.com/ajramos/giztui/releases/latest/download/giztui-linux-amd64.tar.gz | tar -xz
sudo mv giztui /usr/local/bin/
# macOS
curl -L https://github.com/ajramos/giztui/releases/latest/download/giztui-darwin-amd64.tar.gz | tar -xz
mv giztui /usr/local/bin/
# Windows: Download giztui-windows-amd64.zip from releases pageOr install with Go:
go install github.com/ajramos/giztui/cmd/giztui@latest-
Setup Gmail API credentials (detailed guide):
- Enable Gmail API in Google Cloud Console (required first step)
- Create OAuth2 desktop credentials
- Save as
~/.config/giztui/credentials.json
-
Run interactive setup:
giztui --setup
-
Launch GizTUI:
giztui
Local AI with Ollama:
# Install Ollama
curl -fsSL https://ollama.ai/install.sh | sh
# Pull a model
ollama pull llama2
# Configure GizTUI
echo '{
"llm": {
"provider": "ollama",
"ollama": {
"model": "llama2"
}
}
}' > ~/.config/giztui/config.jsonGizTUI includes several built-in themes and supports custom themes:
Built-in themes: slate-blue (default), gmail-dark, gmail-light, dracula, custom-example
Configure theme:
{
"theme": {
"current": "gmail-dark",
"custom_dir": "/path/to/your/custom/themes"
}
}Theme directory resolution (priority order):
custom_dir- Your custom themes directory (if specified)~/.config/giztui/themes/- User themes directory- Built-in themes (embedded in binary)
Runtime theme switching: Press H to open theme picker with live preview.
โ ๏ธ Important forgo installusers: If themes don't work, ensure your config has the correcttheme.currentparameter (notui.theme). See the Configuration Guide for details.
| Key | Action | Description |
|---|---|---|
? |
Help | Show complete shortcuts |
s |
Search | Gmail search with auto-complete |
u |
Unread | Show unread messages |
a |
Archive | Archive current message |
d |
Trash | Move to trash |
c |
Compose | Create new email |
R |
Reply | Reply to email |
y |
AI Summary | Generate email summary |
p |
Prompts | Open AI prompt library |
K |
Slack | Forward to Slack |
Shift+O |
Obsidian | Ingest to Obsidian |
L |
Links | Quick link access |
A |
Attachments | Download attachments |
: |
Commands | Enter command mode |
Bulk operations: v to enter bulk mode, space to select, then use any action key.
VIM-style ranges: a5a archives 5 messages, d3d deletes 3, t2t toggles read on 2.
- Service-oriented design with clean separation of UI and business logic
- Thread-safe operations with proper error handling and recovery
- Extensive testing with unit tests, integration tests, and CI/CD pipeline
- No data leaves your machine (except to Gmail and your configured integrations)
- Local AI processing with Ollama for complete privacy
- Local SQLite caching for performance without cloud dependency
- Efficient Gmail API usage with smart caching and batch operations
- Responsive UI that handles large inboxes gracefully
- Robust error handling with user-friendly feedback and recovery options
- k9s-style command interface with auto-completion and shortcuts
- VIM-like navigation for power users who prefer keyboard efficiency
- Modern terminal aesthetics with themes and adaptive layouts
- ๐ Getting Started - Complete setup guide with troubleshooting
- โจ Features Overview - Comprehensive feature documentation
- โจ๏ธ Keyboard Shortcuts - Complete shortcut reference
- โ๏ธ Configuration Guide - Detailed configuration options
- ๐ Documentation Hub - Navigate all documentation
- ๐๏ธ Architecture Guide - Development patterns and conventions
- ๐จ Theming Guide - Theme system and customization
- GitHub Repository - Source code, issues, discussions
- Linux: AMD64, ARM64
- macOS: Intel (AMD64), Apple Silicon (ARM64)
- Windows: AMD64, ARM64
All platforms include:
- Native file handling and browser integration
- Cross-platform keyboard shortcuts
- Consistent feature parity
๐ง Email Power Users
- Process large volumes of email efficiently
- Use AI to quickly understand and categorize messages
- Bulk operations for newsletter management and cleanup
๐ง Knowledge Workers
- Integrate email insights into your second brain (Obsidian)
- Share important emails with teams via Slack
- Use AI prompts for meeting prep and email analysis
๐ป Terminal Enthusiasts
- Never leave the terminal for email management
- VIM-style navigation and operations
- Scriptable and automatable workflow integration
๐ Privacy-Conscious Users
- Local AI processing with Ollama
- No cloud dependencies beyond Gmail API
- Complete control over your data and processing
- Getting Started Guide - Setup and first steps
- Known Issues - Common problems and solutions
- GitHub Issues - Bug reports and feature requests
- GitHub Discussions - Community support
Released under the MIT License. See LICENSE for details.
Read README.md, CLAUDE.md, docs/*, and run git ls-files to understand this codebase.
Ready to transform your Gmail workflow? ๐