A fast, minimalist CLI email client for developers. Connect directly to your email provider with zero cloud relays, pipe stdin into automations, and triage your inbox at terminal speed.
See how developers leverage t3e to build custom email automations and integrations.
Notify your team automatically when a build fails or a deployment completes. By passing the non-interactive --yes (or -y) flag and piping stdout or log files directly to stdin, you can easily integrate t3e with automated runners like GitHub Actions or GitLab CI.
# Send build logs only if build fails $ npm run build > build.log 2>&1 \ || t3e send \ --to alerts@company.com \ --subject "Build Failed" \ --yes < build.log
Schedule system backups, disk health checks, or database validations using cron, and receive direct reports in your inbox. No heavy setup or specialized tooling requiredβjust direct redirection of command output to t3e send.
# Send system disk usage report every night $ df -h | t3e send \ --to sysadmin@company.com \ --subject "Disk Space Alert: $(hostname)" \ --yes
Extract verification codes, one-time passwords, or specific alerts instantly without opening a browser or full GUI client. Standard output from t3e list and t3e read flows seamlessly into Unix filtering tools.
# Fetch latest OTP verification code $ t3e list -n 5 \ | grep -i "gitlab.*verify" \ | head -n 1 \ | awk '{print $1}' \ | xargs t3e read \ | grep -oE "[0-9]{6}" \ | head -n 1
Combine t3e with the command-line fuzzy finder fzf to build an interactive, keyboard-driven inbox browser. Search through your subjects or senders, and read messages instantly in a live scrollable preview pane.
# Live preview (up to 100 emails) $ t3e list -n 100 \ | fzf --header-lines=5 \ --preview "t3e read {1}" \ --preview-window=right,60%,wrap # Select and read email $ t3e read $(t3e list -n 100 \ | fzf --header-lines=5 \ | awk '{print $1}')
Turn frequent email queries into fast, single-word keyboard shortcuts. Custom wrapper functions in your shell profile (e.g. .zshrc, .bashrc) make reading and checking emails faster than ever.
# Quick aliases for email triage alias check-unread="t3e list --unread-only" # Function latest-mail() { t3e list | head -n 5 | tail -n 1 | \ awk "{print \$1}" | xargs t3e read } # Function with $1=account $2=folder email-view() { # Usage: email-view [account] [folder] local a="${1:-demo}" local f="${2:-INBOX}" t3e -a "$a" list -f "$f" -n 100 \ | fzf --header-lines=5 \ --preview "t3e read {1} -a $a -f '$f'" \ --preview-window=right,60%,wrap }
Execute lightning-fast server-side IMAP queries across senders, recipients, and participants. Default strictly to INBOX for predictability, target custom folders with -f, or search across your entire account with --all-folders.
# Search across all folders (excluding Trash & Spam) $ t3e search --all-folders "contract" # Combine sender, subject, and content criteria (AND logic) $ t3e search --sender "Git" --subject "Build" --larger 10M # Restrict search to specific folders $ t3e search -f "INBOX,Sent" -p "Alice"
Designed for integration, automation, and keyboard workflows.
First-class support for Unix redirects, stdin/stdout piping, and structured JSON output. Compose t3e effortlessly with standard shell utilities like jq, awk, grep, and custom pipelines.
Run headless with non-interactive flags (--yes). Deliver automated build alerts in CI/CD runners, schedule cron health reports, and trigger event-driven notifications without human prompts.
Triage and search your inbox at terminal speed. Pair t3e with fzf for live preview panes, create custom shell aliases, and navigate conversations without ever reaching for a mouse.
Choose your preferred installation method: quick automated shell script or direct binary tarball extraction.
Automatically detects OS and CPU architecture, downloads the precompiled binary, and installs it into your system PATH.
Download precompiled release archives directly for offline, containerized, or custom directory installations (latest):
# 1. Extract archive $ tar -xzf t3e-linux-x86_64.tar.gz # 2. Move executable to your PATH $ sudo mv t3e /usr/local/bin/
Add multiple email accounts in seconds with built-in provider autodiscovery and pre-flight verification.
Gmail requires third-party clients to connect via an App Password rather than your regular account password. Enable 2-Step Verification on your Google Account, then generate a 16-character code at myaccount.google.com/apppasswords.
Copy and paste the code directly into the prompt (with or without the 4-character spacesβt3e masks your input as **** **** **** **** and strips spaces automatically).
t3e automatically enables Microsoft's OAuth2 Device Code Flow for Outlook, Hotmail, and Microsoft 365 accountsβno password prompt required.
Tokens are cached in ~/.config/t3e/tokens.toml and refreshed automatically in the background with a 90-day sliding activity window.
Both Apple iCloud (imap.mail.me.com) and Yahoo Mail (imap.mail.yahoo.com) use standard SSL/TLS port 993 for IMAP and port 587 for SMTP with dedicated application passwords.
β’ Apple iCloud: Generate an App-Specific Password at appleid.apple.com.
β’ Yahoo Mail: Generate an App Password in your Yahoo Account Security settings.
t3e connects to any mail provider or custom domain supporting standard IMAP & SMTP protocols:
β’ Regional & Independent Providers: Automatically discovers settings for GMX, Freenet, AON, WEB.DE, Fastmail, Mailbox.org, Zoho, and Proton Mail Bridge.
β’ Custom Domains & Self-Hosted: Works with mydomain.com, university/corporate mail, Mailcow, Postfix/Dovecot, and cPanel (port 993 / 587).
Manage multiple accounts in one configuration file. Switch dynamically with the global -a or --account option:
t3e list -a maint3e send -a devLearn how to use t3e by walking through the zero-config demo mode commands.
Run t3e with no arguments to initialize the sandbox configuration and enter simulated demo mode.
Quickly list the emails inside your folder with their UID, status indicator, sender, subject, and date.
View the details and body text of a specific email using its UID.
Group related messages across active mailboxes into chronological conversation threads, with --show-all to expand the message tree.
Search across subjects, bodies, senders, or participants (-p), which automatically queries both INBOX and Sent folders.
Aggregate senders by message count, unread status, or recency, and distinguish direct messages from automated newsletters.
Flag emails interactively (with prompt verification) or append --yes for non-interactive scripting.
Move an email to Trash by UID, verifying interactively or passing --yes for automation.
Display all available mail folders on your server and query a specific folder like Trash.
Common questions about t3e credentials, automation, offline usage, and uninstallation.
t3e is a standalone binary with no background services or daemons. You can uninstall it anytime using our automated uninstaller:
curl -fsSL https://t3e.dev/uninstall | sh
irm https://t3e.dev/uninstall.ps1 | iex
To also purge all local configuration, saved accounts, and cache databases, run the complete purge command:
curl -fsSL https://t3e.dev/uninstall | sh -s -- --purge
$env:PURGE = "1"; irm https://t3e.dev/uninstall.ps1 | iex
Manual removal: On Linux/macOS, delete ~/.local/bin/t3e (or sudo rm /usr/local/bin/t3e) and ~/.config/t3e. On Windows, delete %LOCALAPPDATA%\Programs\t3e and %APPDATA%\t3e.
Security is a core design priority. t3e protects your credentials using several layers of defense:
0600 (-rw-------) mode permissions on config.toml, ensuring no other user on the system can read your configuration file.password_enc): Passwords can be encrypted at rest tied cryptographically to your machine hardware identity and operating system user account.password_cmd): Fetch passwords on demand from tools like pass, 1Password CLI, or bitwarden.password = "ENV_VARS"): Inject credentials dynamically in CI/CD runners and automated pipelines.tokens.toml.Offline execution is explicit via the -O (or --offline) flag on subcommands like t3e list -O, t3e search -O, and t3e conversations -O.
When -O is supplied, t3e executes purely against your local SQLite message cache without making any network calls to the IMAP server. Before going offline (e.g. before travel), you can warm your cache with:
t3e sync -n 50
For t3e read <UID>, if a message body was already downloaded during sync, it is served directly from cache instantly.
No. t3e has zero background daemons, zero background services, and zero resident memory consumption. Every command executes synchronously to perform its exact task and terminates immediately upon completion, leaving your system completely idle.
Any email provider that supports standard IMAP and SMTP protocols works with t3e. You are never locked into any specific ecosystem.
t3e features an intelligent multi-stage autodiscovery engine with pre-configured connection profiles for a wide variety of services, such as:
Yes! t3e was built for developer composability and AI tool integration:
list, read, conversations, search, folders, senders) supports --json for deterministic parsing.-y / --yes to bypass interactive confirmations.https://t3e.dev/agent.install for one-line installation and operational specifications.Simply run:
t3e update
t3e automatically checks for new releases, detects its current executable path, downloads the matching precompiled release, and upgrades itself in-place.