Skip to content

TideMail v1.10.3

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Nov 18:08
· 11 commits to main since this release

TideMail v1.10.3

TideMail is a keyboard-first terminal email client with multi-account mail, a unified inbox, drafts, contacts, search, bulk actions, and optional AI tools.

Added

  • Press /, type a query, then Ctrl+G in mail search to find and cache
    uncached matches on IMAP servers (up to 25 per folder; 20 seconds per folder,
    two minutes overall). The status bar reports Searching servers…, then
    Server search with any folders that were unavailable or limited. Outside
    message search, Ctrl+G keeps its other meanings, such as the grammar check in
    Compose.

  • mailboxes list reports server_count, the number of messages the server
    held when a TUI sync last listed that folder, and server_count_at, when it
    did. Both are null until then. Comparing
    server_count with cached shows how much of a folder is in the cache; the
    CLI itself never syncs, so the count can be out of date. Thanks to @kgemici.

  • Fuzzy folder filter, suggested by @drjackyl. G opens Go to folder: type
    part of a folder's path (acin finds Projects/Acme/Invoices) and press
    Enter to jump to it, across all accounts, opening collapsed parents on the
    way. In the move picker (m), / filters every folder in the account the
    same way and Enter moves straight there. The command palette has a "Go to
    folder" entry.

  • Set TIDEMAIL_AGENT=1 to enforce configured agent capability checks on every
    mail command in a session (cached reads, drafts, sends, interactive compose
    actions and outbox actions), even when a command omits --agent or passes
    --agent=false. It grants no capability, send approval still applies, and the
    generated agent skill now tells agents to set it. Thanks to @kgemici.

  • messages list and messages search take --account ID, repeatable
    --mailbox NAME, --since / --before (YYYY-MM-DD), --starred and
    --sort date|relevance. Filters run before pagination, so totals and pages
    describe the selected scope. Scoped searches sort newest first, an empty
    search query matches everything in scope, and an unscoped list still opens on
    the unified inbox. Thanks to @kgemici.

  • mailboxes list [--account ID] lists cached folders with raw and display
    names, special-use flags and local cached/unread counts. In agent mode it
    needs messages.metadata. Thanks to @kgemici.

  • Cached read commands accept options before or after an ID or query, --
    makes the remaining arguments literal, and flags that do not apply to a
    command are rejected. Thanks to @kgemici.

  • Search now finds words in HTML-only messages. When a message has no plain
    text, the index holds text extracted from the HTML: link labels are kept;
    link URLs, scripts, styles and document metadata are not, and nothing is
    fetched. Stored bodies are unchanged. Thanks to @kgemici.

  • messages search accepts "quoted phrases" for adjacent words, a trailing *
    for a prefix on any word, and --exact to match whole words only (the last
    word is otherwise still a prefix, as before). Thanks to @kgemici.

  • messages read also returns text and text_source (plain, html or
    none) beside body_text and body_html. Thanks to @kgemici.

  • messages read also returns reply_to, in_reply_to, references and the
    message's attachments (id, name, size, type, inline, and whether the contents
    are cached), never the contents. --headers adds the raw header block; it is
    kept for mail cached from now on, so older messages may have none.
    Thanks to @kgemici.

  • messages thread cache:ID returns a conversation's metadata, oldest first,
    across every cached account and folder, using the same threading as the
    client. It needs messages.metadata under --agent. Thanks to @kgemici.

  • messages list and messages search accept --dedupe, which collapses
    copies of one Message-ID (a message in both Inbox and Archive) before the
    total and the page are counted. Thanks to @kgemici.

  • messages attachments cache:ID --out DIR saves a message's attachments,
    inline parts included, using cached contents or fetching them over IMAP
    without marking the mail read. Under --agent it needs the new
    attachments.read capability, which is denied by default and not implied by
    messages.read. Files are never overwritten (name-1.ext), names are
    cleaned with the same rules as Ctrl+D (Report Q3.PDF → report-q3.pdf,
    names over 100 bytes shortened), and the fetch is refused unless the stored mailbox UIDVALIDITY
    matches the server's. Thanks to @kgemici.

Changed

  • The bottom status bar's action hints are clickable when Mouse support is on.
    Clicking a hint presses its displayed shortcut, including uppercase keys;
    plain status text and navigation hints remain inert.
  • Opt-in mouse support now works in dialogs: click footer actions, select and
    open list rows, scroll lists and Help, and focus Settings, account, contact,
    classification, schedule, and Compose controls. Clicks outside a dialog do
    not dismiss it.
  • The People view's A key (Advanced CRM) now launches the tidecontacts
    installed on your $PATH, so the version you installed is the one that runs.
    The copy in the plugin directory is used only when none is installed.
  • messages list and messages search now leave out Trash, Junk, Spam and
    Deleted folders by default
    (detected by the \Trash / \Junk flags, then
    by name). Pass --include-trash, or name the folder with --mailbox, to get
    them back. Scripts that relied on results from those folders will see fewer
    messages. Thanks to @kgemici.
  • Text output of message lists shows the date and the folder name.
    Thanks to @kgemici.
  • The search index is rebuilt once after upgrading, to cover HTML-only mail. A
    cache of more than 2000 messages is rebuilt in the background in batches, so
    start-up is not delayed; search results fill in as it proceeds, and a command
    that exits early resumes the work on the next run. Thanks to @kgemici.
  • Saving attachments with Ctrl+D keeps only the last part of a name that
    contains a path (../../etc/passwd → passwd, previously ....etcpasswd)
    and removes leading dots, so an attachment such as .zshenv can no longer
    create a hidden file. Thanks to @kgemici.

Fixed

  • Drafts preserve the selected From alias and PGP settings. Closing a draft
    containing only a Bcc recipient offers to save it. Editing signed-and-encrypted
    Outbox mail restores both toggles when the queued record has both settings.
  • Compose footer actions accept clicks. The status bar remains visible in short
    terminals and shows search controls while a query is being edited.
  • Mail search shows progress until the current query completes.
  • Text in angle brackets, such as <name>, is no longer missing from the HTML
    version of sent mail. HTML typed or quoted in a message is sent as text.
  • Long paragraphs no longer produce lines over SMTP's length limit, which some
    servers reject or re-wrap. Message text is now sent quoted-printable.
  • Plugins load on Windows. Every plugin was rejected as "not executable".
  • Snooze "Later today" wakes on the hour after 5:00 PM in half-hour time zones,
    such as India, instead of at half past.
  • Replies and inline forwards preserve nested quotes from HTML emails without
    copying terminal quote bars into the outgoing message.
    Thanks to @nathansizemore.
  • Scrolling a message containing keycap emoji (such as 1️⃣) no longer breaks the
    layout. The reader shows the plain digit or symbol instead.
  • A dialog opened over a message containing emoji (such as ☀️ or ▶️) no longer
    draws with a ragged, shifted border. An emoji cut in half by the dialog's
    edge is now drawn as a blank cell instead of moving the rest of the row.
  • Accounts on servers that ignore a login sent before their greeting, such as
    QQ Mail, can now connect. They previously failed with unexpected EOF.
    Thanks to @east4ming.
  • Folders sync on NetEase accounts (163.com, 126.com, yeah.net), which refused
    every folder with Unsafe Login. TideMail now identifies itself to IMAP
    servers that support the ID command. Thanks to @east4ming.

Enjoying TideMail? Sponsor it on GitHub, star the repo, or tell a friend who lives in a terminal.