{"id":34513048,"url":"https://github.com/guiyumin/maily","last_synced_at":"2026-02-06T01:15:58.045Z","repository":{"id":329378084,"uuid":"1119324896","full_name":"guiyumin/maily","owner":"guiyumin","description":"a handy email client, and more","archived":false,"fork":false,"pushed_at":"2026-01-28T19:09:30.000Z","size":2479,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-28T23:09:25.912Z","etag":null,"topics":["apple","claude","claude-code","cli","codex","email","gemini-cli","gmail","icalendar","macbook","mistral","ollama"],"latest_commit_sha":null,"homepage":"https://MailySuite.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guiyumin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-19T05:17:10.000Z","updated_at":"2026-01-28T19:03:12.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/guiyumin/maily","commit_stats":null,"previous_names":["guiyumin/mailx"],"tags_count":120,"template":false,"template_full_name":null,"purl":"pkg:github/guiyumin/maily","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guiyumin%2Fmaily","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guiyumin%2Fmaily/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guiyumin%2Fmaily/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guiyumin%2Fmaily/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guiyumin","download_url":"https://codeload.github.com/guiyumin/maily/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guiyumin%2Fmaily/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28975278,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T09:57:52.632Z","status":"ssl_error","status_checked_at":"2026-02-01T09:57:49.143Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apple","claude","claude-code","cli","codex","email","gemini-cli","gmail","icalendar","macbook","mistral","ollama"],"created_at":"2025-12-24T04:13:14.058Z","updated_at":"2026-02-06T01:15:58.030Z","avatar_url":"https://github.com/guiyumin.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Maily\n\nA fast, keyboard-driven terminal email client with calendar integration.\n\n## Features\n\n- **Multi-account support** - Gmail, Yahoo, and custom IMAP providers\n- **Fast startup** - Local caching with background sync server\n- **Keyboard-driven interface** - Vim-inspired navigation, command palette\n- **Email operations** - Compose, reply, delete, search, folder/label navigation\n- **Calendar integration** - macOS EventKit with natural language event creation\n- **AI summarization** - Email summaries via Claude, Codex, Gemini, Ollama, or BYOK\n- **Today view** - Combined view of emails and calendar events\n- **Bulk actions** - Multi-select in search results for batch operations\n- **Self-update** - Built-in update mechanism\n\n## Platforms\n\n- **macOS** - Full features including calendar integration\n- **Linux** - All features except calendar (no EventKit)\n\n## Installation\n\n### Homebrew (macOS/Linux)\n\n```bash\nbrew install guiyumin/tap/maily\n```\n\n### From Source\n\n```bash\ngit clone https://github.com/guiyumin/maily.git\ncd maily\nmake build\n./build/maily\n```\n\n### Self-Update\n\n```bash\nmaily update\n```\n\n## Quick Start\n\n1. Add your email account:\n\n```bash\nmaily login gmail      # For Gmail\nmaily login yahoo      # For Yahoo\nmaily login qq         # For qq mail\n```\n\n2. Start the TUI:\n\n```bash\nmaily\n```\n\nThe background server starts automatically when you open maily.\n\n## Key Bindings\n\nSee [docs/keybindings.md](docs/keybindings.md) for the full list of key bindings.\n\n## Commands\n\n```bash\n# Email\nmaily                  # Start TUI\nmaily login gmail      # Add Gmail account\nmaily login yahoo      # Add Yahoo account\nmaily login qq         # Add qq mail account\nmaily logout           # Remove account\nmaily accounts         # List accounts\nmaily sync             # Manual full sync\n\n# Search (-a required if multiple accounts)\nmaily search -a me@gmail.com -q \"from:temu\"    # Interactive TUI search\nmaily search -q \"is:unread\" --count            # Count matching emails\nmaily search -q \"from:amazon\" --format=json --limit=50\nmaily search -q \"has:attachment\" --format=table\n\n# Calendar (macOS)\nmaily calendar         # Calendar TUI\nmaily c                # Short alias\nmaily c list           # List available calendars\nmaily c add \"...\"      # Create event with natural language\n\n# Today View\nmaily today            # Combined email + calendar view\nmaily t                # Short alias\n\n# Server\nmaily server status    # Check server status\nmaily server stop      # Stop the server\nmaily server start     # Start server manually\n\n# Configuration\nmaily config           # Interactive config TUI\n\n# Maintenance\nmaily update           # Update to latest version\nmaily version          # Show version info\n```\n\n## Configuration\n\nConfiguration is stored in `~/.config/maily/`:\n\n- `accounts.yml` - Email accounts and credentials\n- `config.yml` - Application settings\n- `maily.db` - Email cache (SQLite)\n- `server.pid` - Background server PID\n\n### Settings\n\n```yaml\n# ~/.config/maily/config.yml\nmax_emails: 50 # Emails to load per page\ndefault_label: INBOX # Default folder\ntheme: default # UI theme\n\n# AI accounts (OpenAI-compatible API)\nai_accounts:\n  - name: openai\n    base_url: https://api.openai.com/v1\n    api_key: sk-...\n    model: gpt-4o-mini\n```\n\n## Gmail Setup\n\n1. Enable 2-Factor Authentication on your Google account\n2. Generate an App Password: Google Account \u003e Security \u003e App Passwords\n3. Use the 16-character App Password when running `maily login gmail`\n\n## Yahoo Setup\n\n1. Enable 2-Factor Authentication on your Yahoo account\n2. Generate an App Password: Account Security \u003e Generate app password\n3. Use the App Password when running `maily login yahoo`\n\nSee [docs/features/yahoo-mail.md](docs/features/yahoo-mail.md) for detailed instructions.\n\n## AI Integration\n\nMaily supports AI-powered features through multiple providers:\n\n- **CLI tools**: Claude, Codex, Gemini, Ollama (auto-detected)\n- **BYOK (Bring Your Own Key)**: Any OpenAI-compatible API (configure in `config.yml`)\n\nFeatures:\n\n- Email summarization (`s` key in read view)\n- Natural language calendar event creation (`n` key in calendar)\n- Event extraction from emails\n\n## Architecture\n\n- Built with Go and [Bubbletea](https://github.com/charmbracelet/bubbletea) (Elm-architecture TUI framework)\n- Uses [go-imap/v2](https://github.com/emersion/go-imap) for IMAP and SMTP\n- Local cache for fast startup, background server for sync (30-min interval)\n- No optimistic UI - server operations wait for confirmation\n- macOS calendar via EventKit (CGO)\n\n## License\n\n[Apache 2.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguiyumin%2Fmaily","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguiyumin%2Fmaily","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguiyumin%2Fmaily/lists"}