How to use HEY email from the terminal with hey-cli
By Flavio
Updated
Tagged: CLI
hey-cli brings HEY email, contacts, calendars, todos, habits, time tracking, journal entries, automation, and AI agent workflows to your terminal.
hey-cli puts HEY in your terminal.
You can read and send email, search threads, manage The Screener, organize messages, and download attachments.
It also covers contacts, calendars, todos, habits, time tracking, and journal entries. You can use an interactive terminal app, request structured JSON from scripts, or install its embedded skill for coding agents.
An agent can access your email through hey-cli. You can also give it a separate HEY account of its own. The same documented command handles searching, reading, drafting, and organizing.
It isn’t a generic email client. It works with HEY and uses HEY’s own concepts, including the Imbox, The Feed, Paper Trail, Reply Later, Set Aside, Bubble Up, and The Screener.
I’ve used HEY since it launched, and it’s my favorite email tool. My email already lives there, so hey-cli gives me a new way to work with a system I know well.

I’ll use macOS for the installation and terminal examples. The commands match hey-cli 1.10.1.
What is hey-cli?
hey-cli is both a CLI and a TUI.
A CLI runs one command, prints a result, and exits:
hey search "invoice"
A TUI is an interactive application drawn inside your terminal:
hey tui
The CLI is useful when you know what you want to do. It also works well in scripts and with AI agents.
The TUI is useful when you want to browse. You can move between mail, contacts, calendars, and your journal without remembering every command.
Both interfaces use the same HEY account.
How hey-cli is built
hey-cli is written in Go and distributed as one executable file.
You don’t need Node.js, Python, Ruby, or a separate runtime. The macOS installer downloads the right binary for your Mac.
The project uses:
- Cobra for the command structure
- Bubble Tea for the terminal interface
- the HEY Go SDK for HEY operations
- Action Cable connections for live updates
- the macOS Keychain for stored credentials
Bubble Tea is also the UI layer behind SSH apps like superlogical.jobs (with Wish for the SSH server).
There are separate macOS builds for Apple silicon and Intel Macs. The installer reads your architecture and chooses the correct one.
The project is open source under the MIT license. Basecamp publishes the source, release scripts, tests, and agent skill in the same repository.
What you need
hey-cli runs on macOS, Linux, WSL2, and Windows.
This tutorial uses macOS, so the installation steps focus on a Mac.
You only need 2 things:
- a HEY account
- a terminal
You don’t need to install Go when using a release.
If terminal commands are new to you, my free Shell Commands Course explains paths, commands, pipes, files, environment variables, and processes.
Install hey-cli on macOS
The official installation command is:
curl -fsSL https://hey.com/install-cli | bash
curl downloads the official installer. The -f option stops on an HTTP error, -sS hides normal progress but keeps errors visible, and -L follows redirects.
The pipe sends the script to Bash.
The installer then:
- detects macOS
- detects Apple silicon or Intel
- finds the latest release
- downloads the matching archive
- verifies its SHA-256 checksum
- verifies the Sigstore signature when a supported
cosignis installed - extracts the
heyexecutable - adds its directory to your
PATHwhen needed - checks that the installed command runs
This is what a successful installation looks like:

On macOS, the default install directory is usually:
~/.local/bin
If ~/bin or ~/.local/bin is already in your PATH, the installer prefers the one already configured.
Zsh is the default shell on current macOS versions. When the chosen directory is missing from PATH, the installer adds it to ~/.zshrc.
Reload the file after installation:
source ~/.zshrc
Or close the terminal and open it again.
If you use Fish
The installer detects Fish too.
If ~/.local/bin isn’t already in your PATH, it adds this line to ~/.config/fish/config.fish:
fish_add_path "$HOME/.local/bin"
Open a new terminal, or reload the Fish configuration:
source ~/.config/fish/config.fish
Now check where the command is installed:
command -v hey
Then check the version:
hey version
Why setup does not start inside the installer
The install command sends a script through a pipe, so Bash doesn’t have an interactive input terminal during installation.
The installer finishes safely instead of trying to open a setup prompt through that pipe, and prints the next commands to run.
Start the setup yourself:
hey setup
You can also run the bare command:
hey
On the first interactive run, hey starts the setup flow when you’re logged out.
Choose a different installation directory
You can tell the installer where to place the executable.
For example, install into ~/bin:
curl -fsSL https://hey.com/install-cli | HEY_BIN_DIR="$HOME/bin" bash
The environment variable belongs on the bash side of the pipe. That’s the process running the installer.
Install without connecting a coding agent
The piped installer already skips the interactive setup wizard. It still installs the HEY skill without prompting. When it detects exactly one coding agent, it also connects that agent. When it detects several, it connects none and prints the per-agent setup commands instead.
Set HEY_SETUP_AGENT=none if you want installation to leave agent integrations unchanged:
curl -fsSL https://hey.com/install-cli | HEY_SETUP_AGENT=none bash
If you save the installer and run it interactively instead of piping it, HEY_SKIP_SETUP=1 skips its setup wizard.
Install with Homebrew
You can use Homebrew instead of the installer script:
brew install --cask basecamp/tap/hey
Homebrew manages the installed files and shell completions for you.
There’s one practical difference when updating. A Homebrew installation follows Homebrew’s version, so hey upgrade delegates the update to Homebrew instead of replacing the executable itself.
On a personal Mac, go with the official installer. It has fewer moving pieces and can update itself.
Pick Homebrew if you already manage all your command-line tools through Homebrew and want one consistent upgrade workflow.
Stick to one method, and don’t install the same command with both.
Sign in to HEY
The normal login uses browser-based OAuth.
Run:
hey auth login
hey-cli opens your browser. Sign in to HEY, approve access, then return to the terminal.
The first-run setup command does this too:
hey setup
The full setup also installs shell completions and offers to connect supported coding agents.
If you only want the HEY command and don’t want agent integrations, run:
hey setup --skip-agents
Check the current session with:
hey auth status
Log out with:
hey auth logout
On macOS, hey-cli stores credentials in the system keyring, which means the Keychain. If the keyring is unavailable, it can fall back to ~/.config/hey-cli/credentials.json.
When the Keychain refuses a read, for example inside an agent’s sandbox, hey auth status reports a storage problem instead of saying you’re logged out. Signing in again won’t fix it, so look at what’s blocking Keychain access.
My advice is to use the browser login. Avoid putting a token directly in a shell command because that command can remain in your shell history.
Open the terminal interface
Start the interactive interface with:
hey tui

The TUI has 4 main areas:
- Contacts
- Calendar
- Journal
Press ? to show or hide the shortcut bar.
In Mail, use the arrow keys to move through threads and Enter to open one. The list loads more threads as you reach the bottom.
Some useful shortcuts are:
/orssearchesrrepliesfforwardsvmoves a threademarks it seenumarks it unseenimoves it to the Imboxlmoves it to Reply Lateramoves it to Set Asidedmoves it to The Feedpmoves it to Paper Trailtmoves it to Trash!marks it as spam-ignores future activity+stops ignoring it
Press Space or x to select several threads. e, u and t then act on all of them.
Press 9 to open Previously Seen, the Imbox threads you already read. PgUp and PgDn move a screen at a time through any list.
Press Ctrl+S to open The Screener. Press o for Contacts, Shift+C for Calendar, Shift+L for Labels, and Shift+K for Collections.
A thread opens on its latest message. Use k and j to step back and forward through the earlier ones.
While you read a thread, Tab and Shift+Tab move between its links. The full destination appears above the shortcut bar, and Enter opens it. Use [ and ] to pick an attachment, s to save it, and Enter to open it.
In The Screener, y screens a sender in and n screens them out. Space shows their latest email before you decide.
When you type in the To, Cc or Bcc field, the TUI suggests recipients from the same list the HEY web composer uses.
In Calendar, 1, 2 and 3 switch between day, week and year. Enter on an event opens a card with its time, place, link, guests and notes.
You can also start the TUI on a specific destination:
hey tui --topic 123
hey tui --screener
The first command opens the thread with topic ID 123. The second opens The Screener.
The TUI keeps its visible mail and calendar data updated through live connections. If the connection drops, it shows an offline status and reconnects.
Find the available commands
Start with the main help:
hey --help

Every command has its own help page:
hey compose --help
To see the complete executable command catalog, run:
hey commands
This is especially useful because hey-cli has many commands. You don’t have to memorize them.
There are also focused help topics:
hey help output
hey help exit-codes
hey help environment
hey help linked-accounts
Work with email from the command line
Let’s start with the most common email workflow.
List your boxes
List the available mailboxes:
hey box list

Open the Imbox:
hey box view imbox
You can pass a box name or ID.
In a terminal, the command prints a readable table. Add --json when you need every field:
hey box view imbox --json
Understand the 2 email IDs
HEY exposes 2 IDs that look similar but have different jobs.
The posting id identifies the item inside a box. Use it for organizing actions like moving, labeling, or marking a thread as seen.
The topic_id identifies the email conversation. Use it to read, reply, forward, and share a thread.
The JSON output includes both. If a command asks for a thread ID, it usually means topic_id. If it changes an item inside a box, it usually needs id.
Read a thread
Read a complete thread using its topic ID:
hey thread read 123

Entries appear from oldest to newest.
To save the thread as Markdown, run:
hey thread read 123 --markdown > thread-123.md
This format is useful for notes and AI agents because headings, lists, quotes, code blocks, and links stay structured.
You can also save HEY’s original HTML:
hey thread read 123 --html > thread-123.html
HTML output only works when you write to a pipe or file. hey-cli refuses to dump raw HTML directly into your terminal.
Rename a thread
You can change the subject HEY shows for a thread:
hey thread rename 123 --name "Kitchen renovation quotes"
Nothing gets emailed. The new name only shows up in your HEY account, while everyone else on the thread keeps the original subject.
Search email
Search with plain text:
hey search "quarterly planning"
You can refine the search:
hey search --from jane@example.com --date last_30_days
See the values accepted by date, box, label, and attachment filters:
hey search filters
Search results include the topic ID you need to read the full conversation.
Write a new email
Compose an email from the command line:
hey compose --to jane@example.com --subject "Lunch plans" -m "Tuesday works for me."
If you omit -m, hey-cli opens your $EDITOR:
hey compose --to jane@example.com --subject "Lunch plans"
Set your preferred editor through the normal shell variable. For example:
export EDITOR=nano
Message bodies use Markdown. You can write headings, lists, links, quotes, bold text, and fenced code blocks.
Add an attachment with --attach:
hey compose --to jane@example.com --subject "Q3 report" -m "The report is attached." --attach ./report.pdf
Pass --attach more than once when you need several files.
If you send from more than one address, list them:
hey account senders
Then pick one with --from:
hey compose --from flavio@flaviocopes.com --to jane@example.com --subject "Lunch plans" -m "Tuesday works for me."
hey-cli catches an address HEY would silently drop, like one with no domain, before anything goes out.
Reply and forward
Reply using the topic ID:
hey reply 123 -m "Friday works for me."
Forward the latest message in a thread:
hey forward 123 --to jane@example.com -m "For your review"
hey-cli asks HEY for the right reply recipients and strips out your own addresses, aliases, and catch-all addresses.
To check who will get the reply before sending it, add --dry-run:
hey reply 123 --dry-run
It prints the sender, the thread, and the recipients without sending anything.
--to, --cc, and --bcc add people to the recipients HEY suggests:
hey reply 123 --cc bob@example.com -m "Adding Bob."
Add --replace-recipients to send only to the addresses you list.
If HEY refuses a send, usually because the account hit its sending limit, it saves the message as a draft. The command exits with code 7 and prints the draft ID so you can send it later with hey draft send.
Reply to several threads at once
Sometimes the same short answer fits many threads. bulk-reply sends one reply to all of them, and takes posting IDs.
Always preview first:
hey bulk-reply preview 12345 67890
The preview shows each thread and the exact recipients before anything goes out.
Then send:
hey bulk-reply send 12345 67890 -m "Thanks for the update."
The response includes a delivery ID. While HEY’s undo window is open, you can use that ID to recall the whole bulk reply:
hey bulk-reply undo 98765
The TUI does this too. Select threads with Space, press Ctrl+B to preview the recipients, and press Ctrl+U to recall a delayed bulk reply.
Use drafts as a review step
Add --draft to save instead of sending:
hey compose --to jane@example.com --subject "Board update" -m "Numbers to follow." --draft
The command returns the new draft ID.
List and inspect drafts:
hey draft list
hey draft show 12345
Edit a field without replacing the others:
hey draft edit 12345 --subject "Board update for August"
Send the reviewed draft:
hey draft send 12345
Or delete it:
hey draft delete 12345
An agent can prepare a draft, and you can review it in any HEY app before sending.
The CLI can’t schedule a message for an exact future time, so set that schedule in a HEY app. Any schedule already attached to a draft survives CLI edits.
Save attachments
List the attachments in a thread:
hey attachment list 123
Each attachment gets an ID with its message and position, such as 456:1.
Save one using that ID:
hey attachment save 456:1
hey-cli keeps the original filename and won’t overwrite an existing file unless you pass --force.
Share a thread
HEY can create a public link for a thread:
hey share 123
Anyone with the link can read the whole conversation, including future replies, so use it carefully.
Turn the link off with:
hey unshare 123
Organize your email
Mark one or more posting IDs as seen:
hey seen 12345 67890
hey unseen reverses it.
Move a posting to The Feed:
hey move 12345 --to feed
Move several postings to Paper Trail:
hey move 12345 67890 --to "paper trail"
Bubble a thread back to the top of the Imbox tomorrow:
hey bubble up 12345 --tomorrow
List scheduled Bubble Up threads:
hey bubble list
Cancel a scheduled Bubble Up with hey bubble pop 12345.
You can group Set Aside threads just like in the HEY apps. List what’s in Set Aside, then put two threads in a new group:
hey set-aside view
hey set-aside group create 12345 67890
A bundle is one sender’s mail rolled into a single row of a box. hey box view marks it with the kind bundle. Open its unseen threads with:
hey bundle view 12345
Trash, spam, and ignore have their own top-level commands:
hey trash 12345
hey spam 12345
hey ignore 12345
Marking a thread as spam also trains HEY’s filters. An ignored thread stays in its box, but new replies stop demanding your attention. hey stop-ignoring reverses it.
You can also manage labels, collections, workflows, clips, and reusable snippets.
For example, create a label and apply it to a posting:
hey label create "Travel receipts" 12345
Create a collection:
hey collection create "Kitchen remodel" --summary "Plans and decisions"
Create a reusable email snippet:
hey snippet create --name "Scheduling reply" --content "Tuesday works for me."
Clips and snippets are different. A clip is a passage saved from an email you received, while a snippet is reusable content you insert into a message you write.
Manage The Screener
The Screener holds mail from first-time senders until you decide what to do.
See how many people are waiting:
hey screener list --count
List the queue:
hey screener list
Approve a sender using the clearance ID returned by the list:
hey screener approve 91
Deny a sender:
hey screener deny 91
Marking a denied sender as spam also trains HEY’s filter:
hey screener deny 91 --spam
Use the spam option carefully since it has a stronger effect than a normal denial.
Manage contacts
The TUI has a Contacts area, and the CLI covers contacts too.
List them:
hey contact list

Add one:
hey contact add --name "Jane Doe" --email jane@example.com
Each contact can carry a private note that only you see:
hey contact note set 12345 "Prefers email over calls"
HEY hides contacts instead of deleting them:
hey contact hide 12345
A hidden contact disappears from lists, autocomplete, and search, though you can still reach it by ID. hey contact show-again 12345 brings it back.
You can also bundle a contact’s mail into one Imbox row with hey contact bundle 12345, and list it separately again with hey contact unbundle 12345.
List every thread you have with a contact, seen and unseen:
hey contact threads 12345
Choose where their future email arrives. The options are imbox, feed, papertrail, and screened-out:
hey contact deliver 12345 --to feed
Set a contact’s photo from a PNG or JPEG file:
hey contact photo set 12345 ./jane.jpg
hey contact photo remove 12345 takes it off.
Work with linked HEY accounts
One HEY identity can have several linked mail accounts.
List them:
hey account list
Choose a default account:
hey account use 12345
Return to the combined view:
hey account use all
Override the account for one command:
hey --account 12345 box list
Mail commands follow the selected account. Calendars, todos, habits, time tracking, and journal entries stay identity-wide.
In the TUI, press Ctrl+A to switch between All Accounts and each linked account.
Use structured output
hey-cli is built for both people and programs.
In a terminal, it prints styled human output. When stdout is redirected or piped, it defaults to a JSON response envelope.
You can request JSON explicitly:
hey box list --json
Use --quiet to print the result data without the outer response envelope:
hey box list --quiet
Use --ids-only when another command only needs IDs:
hey box list --ids-only
Use --count for a number:
hey screener list --count
hey-cli also includes a jq-compatible filter, so you don’t need the separate jq command for basic filtering:
hey box list --jq '.data[] | {id, name}'
Combine --quiet and --jq to filter the result data directly:
hey box list --quiet --jq '.[].id'
The CLI uses stable exit codes. Authentication failures return 3, missing resources return 2, network failures return 6, and rate limits return 5.
This makes scripts more reliable because they can tell the difference between “not logged in,” “not found,” and “the network is down.”
Watch for live changes
The watch command keeps running and prints a line for every change. In a terminal it’s a text line, and when you pipe it or pass --json it’s one JSON object per line:
hey watch
It follows your calendars too: events, todos, habits, journal entries, and time tracks. Passing --box limits it to mail.
Watch only for new mail in the Imbox:
hey watch --box imbox --events new

Wait for one new message, then exit:
hey watch --box imbox --events new --exit-on-first

That’s handy in automations. A script can block until something arrives, handle it, and stop.
You can also have watch run a command for every event. Use --run-sync when events need to run in order, or --run-async when separate events can overlap.
Both modes send the JSON event to the child command through standard input. They also set environment variables like HEY_CHANGE, HEY_BOX_ID, HEY_POSTING_ID, and HEY_THREAD_ID.
If you want to build reliable automations around this, my free Shell Scripting and Automation Course covers input validation, exit codes, logs, retries, locks, and testing.
Manage calendars and personal data
hey-cli isn’t limited to mail.
Calendar events
List your calendars:
hey calendar list
List upcoming events:
hey event list
hey event list shows a repeating event only on the day its series started. To see a day or a week the way HEY’s calendar draws it, with every occurrence of a repeating event, use:
hey event day 2026-09-02
hey event week
Without a date, both use today in your HEY account’s time zone.
Add an event:
hey event add "Design review" --starts-on 2026-09-02 --start-time 14:00 --end-time 15:00

Without a start time, the event lasts all day. With a start time but no end time, it lasts one hour.
Edit only the title:
hey event edit 4821 --title "Design review moved"
Move it to another calendar, using a calendar ID from hey calendar list:
hey event edit 4821 --calendar 17
For a repeating event, hey event day gives each day an occurrence ID. Pass it with --occurrence to change one day only, or that day and every day after it:
hey event edit 4821 --occurrence 4821_2026-09-09 --apply-to current --start-time 16:00
Use --apply-to future to change the rest of the series from that day.
Delete the event:
hey event delete 4821
Todos
List todos:
hey todo list
Add and complete one:
hey todo add "Buy milk"
hey todo complete 1
Undo the completion:
hey todo uncomplete 1
Habits
Create a habit for Mondays, Wednesdays and Fridays:
hey habit create "Practice piano" --icon music --color green --days mon,wed,fri
Mark today’s habit complete:
hey habit complete 1
List the habits for the week containing a date:
hey habit list --date 2026-09-02
Time tracking
Start and stop a timer:
hey timetrack start
hey timetrack stop
Stop a running timer and file it under a category:
hey timetrack stop --category "Client work"
See the current timer:
hey timetrack current
Export completed entries to CSV:
hey timetrack export > tracked-time.csv
The export doesn’t include a timer that’s still running.
Journal
Read today’s journal entry:
hey journal read
Write an entry:
hey journal write "Finished the first prototype today."
Omit the text to use your editor:
hey journal write
The editor opens with the existing entry. Saving an empty file removes that day’s entry.
Connect hey-cli to a coding agent
hey-cli includes an agent skill inside the executable, so an agent can use its documented command interface and request structured output without you building and maintaining a custom HEY integration.
The setup wizard detects supported agents and offers to connect them. You can also do it yourself.
For Codex, run:
hey setup codex
For Claude Code, run:
hey setup claude
Install only the shared skill:
hey skill install
The skill teaches the agent how to use the command, choose IDs, request structured output, and follow HEY workflows.
hey-cli only updates skill directories it owns. A managed directory carries a .managed-by-hey-cli marker. If you already created a custom hey skill, the installer refuses to overwrite or claim it.
Run this to inspect the health of the integration:
hey doctor
An agent can then search email, read a thread, prepare a draft, inspect a calendar, or update a todo through the same hey command.
The agent can access the HEY data and actions available to your signed-in account.
Use the same care you’d use with any tool connected to email. Review the agent’s permissions, keep sending behind a draft when possible, and don’t expose bearer tokens in prompts or logs.
Use HEY from an MCP client
hey-cli can also run as an MCP server. An MCP client like Claude Code or Claude Desktop then gets HEY mail, contacts and todos as tools.
Add it to Claude Code:
claude mcp add hey -- hey mcp
The MCP server never sends email. Writing a message, a reply or an update always saves a draft, and a request to send or schedule is refused. You review the draft in HEY and send it there, or with hey draft send.
Be careful with scheduled drafts: updating one through MCP clears its schedule.
If you only want the agent to read, start it with --read-only, which drops every write action, drafts included:
claude mcp add hey -- hey mcp --read-only
--domains narrows the server to some of the tool groups.
I prefer the skill with the CLI for coding agents, because the agent can use every command. The MCP server is a good fit for clients that can’t run shell commands, and the drafts-only rule gives you the review step without having to ask for it.
Configuration and local trust
Show the active configuration with:
hey config show
The global configuration lives under:
~/.config/hey-cli
A project can provide local settings in .hey/config.json.
That file could change the HEY server or selected account, so hey-cli doesn’t trust it silently.
The first interactive command asks whether to use the local values once, trust them, or cancel. A non-interactive or JSON command fails closed until you trust the file from that directory:
hey config trust-local
This protects scripts and agents from a repository that tries to redirect the CLI to another server.
Review trusted local configurations with:
hey config trusted-locals
Remove trust with:
hey config untrust-local
Install shell completions
The setup wizard normally installs shell completions.
You can run the installer yourself:
hey shell-completion install
It detects the shell from $SHELL.
To select Fish explicitly, run:
hey shell-completion install fish
This writes the completion file to ~/.config/fish/completions/hey.fish.
For Zsh, it writes a completion file into a directory on your fpath. If none is available, it uses ~/.local/share/zsh/site-functions/_hey and tells you how to add that directory.
Completion files are also ownership-aware. hey-cli won’t replace a file it didn’t create unless you pass --force.
Upgrade hey-cli
Check the installed version:
hey version
Upgrade to the latest release:
hey upgrade
For a binary installed by the official script, the upgrade downloads the new release, verifies it, replaces the executable, and checks the installed version.
The replacement is transactional. If something fails, hey-cli restores the previous executable when possible.
For Homebrew installations, the command delegates to Homebrew.
Run the health checker after an update or when something feels wrong:
hey doctor
It checks authentication, configuration, updates, shell completions, and agent integrations.
Remove hey-cli
Before removing the program, log out and remove the managed agent integrations:
hey auth logout
hey setup agents --remove
If you installed it with Homebrew, uninstall the cask:
brew uninstall --cask basecamp/tap/hey
If you used the official installer, first find the executable:
command -v hey
Remove that exact file after checking the path. Don’t delete the whole containing directory because it may hold other commands.
The installer may also have added its binary directory to ~/.zshrc. Remove that line only if no other tool uses the same directory.
How I would use hey-cli
There are 2 clear ways to use hey-cli with agents.
Give an agent its own email address
One option is to give an agent a separate HEY address and let it run an email workflow on its own.
Say you’re running a product launch. People join a list, receive updates, ask questions, and reply with feedback.
With its own address, an agent can send onboarding and follow-up messages, read incoming replies, analyze feedback, manage contacts, and keep every conversation organized. It can watch for new mail and react without touching your personal inbox:
app event → agent sends email → person replies → agent analyzes reply → next action
Keep its scope narrow. Give it its own address, clear rules, and only the contacts for that app.
Let an agent help with my email
The other option is to have an AI agent assist with your main inbox while you stay in charge.
Treat hey-cli as another interface to HEY rather than a replacement for the HEY apps. The TUI is great for quick mail checks while you’re already in the terminal, and the CLI handles more targeted tasks.
You can ask an agent to search your email, summarize threads, analyze received messages, manage contacts, and prepare drafts. Review important actions before they go out, especially anything sent from your personal address.
A typical workflow looks like this:
search → read → prepare draft → human review → send
hey screener list --count is also handy for a quick check. You get a single number without opening the whole queue.
Save hey watch for real automations that need live events. There’s no reason to keep it running all day when email doesn’t need to interrupt you every minute.
Don’t let an agent send arbitrary email automatically from your personal address. Full autonomy belongs on a separate, app-specific account. For your main inbox, sticking to drafts gives you a clean checkpoint before anything is sent.
Where hey-cli is not a good fit
hey-cli only works with HEY. It isn’t an IMAP client for Gmail, Fastmail, or a mail server you run yourself.
It doesn’t replace the visual HEY apps either. You’ll still want the web or native app for a large calendar view, a visual inbox session, or careful drag-and-drop organization.
The CLI is strongest when the action is clear:
- find this thread
- draft this reply
- move these messages
- save this attachment
- list today’s events
- start a timer
- wait for one new message
It’s also a young project with a large command surface. It went from 1.2.1 to 1.10.1 in about two months. Commands and features can change, so check hey --help and the official repository for the latest reference.
Want me to talk about your product? You can sponsor this site.
Related posts about cli: