Repository navigation
tmpmail 0.3.4
tmpmail 0.3.4 fixes the small issues the retest of 0.3.3 found: an address named after another inbox's label, a few TUI and error-message details, and MCP tools that ignored misspelled arguments.
Fixed
- A label keeps picking its inbox. A new or logged-in address whose name part equals another inbox's label (label
work, thennew -u work,new work@…orlogin work@…) was accepted, and-i workthen matched both. It is now refused before any provider is asked (exit 64, naming the labelled inbox), innew,login, the MCP server'screate_inbox, the TUI and the desktop app. A label also wins over a local part in-i,useanddrop, so if a provider hands out such a name by chance (a random address, orrotate), the label still picks its own inbox and a warning says how to reach the new one.new ADDRESSfor an address that is already stored now keeps its label, aslogindoes. - The unknown-domain error reads right. With one provider down,
new -d DOMAINput the other providers' answers inside the unreachable provider's parenthesis (mailgw: unreachable (connection failed: …; the other providers don't offer …)). It now readsmailgw: unreachable (connection failed: …); the other providers don't offer "DOMAIN": …. The exit code (3) and the--jsonkind (unreachable) are unchanged. - The TUI's
?scrolls in a short terminal. At 7 rows it showed the first 5 keys and closed on any key, so the rest couldn't be read.↑↓(jk),PgUpPgDnandgGnow scroll it, its bottom line says which rows are shown (1-5 of 18), and any other key closes it (any key, as before, when every key fits). - The TUI's status message no longer runs into the key hints (
Ocopied the first link). A hint that doesn't fit next to the message is now left out whole, with at least one space before the message, and? helpis kept as long as it fits. - MCP tools refuse arguments they don't know.
create_inboxwithusernameinstead ofuserquietly made a random address; every tool ignored unknown arguments. They are now a tool error (isError, kindusage) that names the argument and lists the ones the tool takes, and each tool's schema says"additionalProperties": false. Every argument a tool accepts is listed in its schema, so clients that build calls from it are unaffected.
For library users
- The unknown-domain error with a provider down is now an
Error::Otherwhosekind()is stillunreachableand whoseexit_code()is still 3, instead of anError::Unreachable. Code that matches onError::Unreachablewon't see that one case; match onkind()instead. - New:
watcher::CreateFieldandWatcher::refused, used by the desktop app to show which field of the new-inbox dialog was refused.
Install
cargo install tmpmail
cargo binstall tmpmail # prebuilt binary, no compiling
brew install qorvyx/tap/tmpmail # macOS or LinuxOr 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.4-x86_64-unknown-linux-musl.tar.gz --repo qorvyx/tmpmail