Skip to content

tmpmail 0.3.2

Choose a tag to compare

@github-actions github-actions released this 31 Oct 12:30
· 81 commits to main since this release

tmpmail 0.3.2 fixes Windows problems, keeps mail.tm's live push connection up, and remembers which messages you've read.

Fixed

  • Windows: colors in the classic console. cmd.exe and the old conhost printed raw escape codes (←[2m … ←[0m). tmpmail now turns on the console's escape-code processing at start, and prints without colors if it can't. Windows Terminal, other terminals and other systems are unchanged.
  • Windows: read --html > out.txt no longer locks out.txt. Explorer (and a browser, the clipboard tool or the notification) inherited tmpmail's redirected output handle, so the next write to that file failed. Children now get only their own standard handles.
  • mail.tm push stayed "live" only 75 seconds at a time. The request timeout ended the push stream 75 s after it started, however busy it was, so it reconnected every 75 s and watch, the TUI and the desktop app showed it as down in between. The stream now stays open as long as mail.tm keeps it (75 s of silence still counts as dead), is renewed every 30 minutes with the inbox's current token, and a stream that was up for a minute or more and drops reconnects after 4 s while the inbox still shows as live.

Changed

  • Opened messages count as read everywhere. read (and read --raw, and the MCP server's read_message), the TUI and the desktop app remember in state.json which messages you opened, so ls (* for unread, seen in --json), the TUI and the app agree, with every provider. In the TUI a message counts as read when you move to it or into its preview, not when the preview opens by itself. Older tmpmail versions ignore the new read list in state.json and drop it when they rewrite an inbox (a token refresh), so the marks of that inbox come back unread.

The desktop app (gui-v0.1.1) is released separately.

Install

cargo install tmpmail
cargo binstall tmpmail           # prebuilt binary, no compiling
brew install qorvyx/tap/tmpmail  # macOS or Linux

Or download a prebuilt binary below: Linux (x86_64, aarch64, fully static), macOS (Intel, Apple silicon) and Windows (x64, no Visual C++ Redistributable needed). Check it against SHA256SUMS, or verify its build attestation:

gh attestation verify tmpmail-0.3.2-x86_64-unknown-linux-musl.tar.gz --repo qorvyx/tmpmail