Skip to content

tmpmail desktop 0.1.4

Choose a tag to compare

@github-actions github-actions released this 13 Nov 12:25
· 3 commits to main since this release

tmpmail desktop 0.1.4 is the first release that is no longer a preview. It fixes dragging
attachments out on X11, inline images in mail.tm mail, a blank window in the AppImage with color
emoji, and a narrow message pane, and it brings the security fixes of a full review of the code.
It is built on the same core as the tmpmail command-line tool 0.3.5, so that release's
fixes reach the app too (cleaner sender text, waiting through provider rate limits, headers
labelled ISO-8859-1 read as Windows-1252), and it shares the tool's inboxes and config.toml.

It works on Fedora, Debian, Ubuntu, Arch and other Linux, on macOS and on Windows. Please report
what breaks: https://github.com/qorvyx/tmpmail/issues.

What's new in 0.1.4

  • Dragging an attachment out works on X11. On Xfce (and other X11 desktops) the drag
    started and the file manager lit up, but nothing landed: the drag code stopped answering
    for the file as soon as the drop was sent, and on X11 the drop target asks for it only
    then. The app now runs the drag with GTK itself and answers until the drag ends; the
    file's address is also properly escaped now (names with spaces or accents).
  • In-page links work in the message. A mail's links to its own sections (#section, a
    table of contents) went nowhere: the sanitizer dropped the id and name they point at,
    and the frame opened every link as a popup. Those are kept now, prefixed so a mail can't
    reuse one of the page's own, and an in-page link moves within the mail.
  • The message list can't be turned around by a sender. A sender name or subject with a
    right-to-left override (U+202E) reversed the rest of its row in the list and in the "New
    mail" notice, so a row could read as another address, and terminal escapes showed as box
    glyphs. The list, the notice, attachment names, links, the code (and the tray's "Copy
    code") and the domain picker are now cleaned in Rust the way the message header and
    notifications already were.
  • Inline images show for mail.tm mail. mail.tm and mail.gw rewrite an inline image's
    cid: address in the HTML they hand out to attachment:ID, the id of the attachment
    they list for it, which no browser knows, so the image showed as its alt text. The app
    now reads an image's attachment:ID as that image attachment of the same message (only
    that scheme, only the message's own attachments, with the usual limits on inline
    images). Where the listing doesn't name a cid: image, the app finds the part with that Content-ID in the
    raw message (mail.tm, mail.gw, DropMail and Maildrop have one), and now also reads
    mail.tm's raw message, which leaves out the line break after each part's boundary.
  • Images aren't offered as links. A mail's remote images were listed under Links, and a
    mail with no link at all showed a Google logo as "the likeliest verification link". An address
    the mail only loads isn't listed now, unless the mail also links to it.
  • The notice about an unknown config.toml key shows. It was sent before the window
    listened, so only the terminal saw it; and a save that changed none of the form's fields
    didn't read the file again, so a key added by hand went unnoticed. Notices are now held
    until the window is ready, and every save reads the file again. Polling restarts only
    when the poll interval, push or the timeout changed. A notice with a long text (a file's
    path) stays up longer, up to 30 s, or until its × closes it.
  • j/k keep the open message in view. Past the last visible row the message opened
    but the list stayed put; it now scrolls just enough to show it. [/] do the same in
    the inbox list.
  • Long mail from mail.tm shows whole. mail.tm cuts a message's text at 100 KiB without
    a word; the app (through the core of CLI 0.3.5) now reads the rest from the raw message,
    or says the text may be cut and that Source has all of it.
  • AppImage: notifications show the logo. Without an installed desktop file they showed
    a generic icon; they now name the logo by a file in the cache folder, which servers that
    go by app_icon show. GNOME takes the header's icon from an installed desktop entry only,
    so there the app hands it the logo as the notification's image instead (the desktop file
    inside the AppImage itself no longer counts as installed, which kept GNOME from getting
    it), and the header shows the logo once the AppImage is integrated. An integrated
    AppImage names its icon as the packages do, so KDE shows the logo once, not twice.
    The window's icon on Wayland also needs the AppImage integrated (AppImageLauncher, Gear
    Lever, or by hand): the README says how.
  • AppImage: color emoji no longer blank the window. The WebKitGTK the AppImage
    carries crashed on COLRv1 color emoji (Fedora's emoji font): an emoji in a subject
    turned the window blank, on every start while that mail was listed. The AppImage now
    leaves COLRv1 fonts out of its own font setup, so those emoji show in black and white
    (or from another color emoji font) instead. The deb and rpm aren't affected.
  • The tray's "Copy code" works right after a start. It offered only codes that arrived
    while the app ran, so after a restart it was greyed out although a code had come minutes
    before. It now also offers the newest code of the last 15 minutes already in an inbox.
  • Documented: what stays on disk after uninstalling, on each system, and how to remove
    it; and the /tmp/appimage_extracted_* folder --appimage-extract-and-run leaves
    behind (the AppImage runtime's doing).
  • A narrow message pane stays readable. With the window tiled to half the screen, the
    sender's name ran over the date and the links were cut to a letter or two. The message
    list now gives way (down to 280 px) so the open message keeps 340 px where it can, the
    sender's address and the date move to their own lines, and a link's address gets up to two
    lines with its buttons under it. The message's header (its buttons, the code, the links,
    the attachments) is no longer squeezed into a short box of its own that hid the Link
    row's buttons: a short pane scrolls as a whole, the body keeps at least half of it, and
    in a narrow pane the view buttons show only their icons.
  • A refused label's reason is in view. In a 1280×800 window the new inbox dialog
    scrolls, and the reason under the label field sat below its visible part; the dialog now
    scrolls to it.
  • Security: a "link" must be a real web address. A mail's href="http\..\setup.exe"
    only started with http, so it was listed as a link; the app's Open already refused it,
    but the list now leaves it out (core of CLI 0.3.5), and the app's opener takes only a
    whole absolute http(s) URL with a host.
  • Security: dependencies with published advisories updated. The TLS stack (rustls
    0.23.46, rustls-webpki 0.103.16, webpki-root-certs 1.0.11: certificates through the
    distrusted emSign intermediates are refused), the HTML sanitizer (ammonia 4.2.4), tokio,
    time 0.3.55 (cookie parsing), quick-xml 0.42 (through plist 1.10) and serde_with 3.21.
    glib 0.18's advisory stays: Tauri 2 needs the GTK 3 bindings, and the app doesn't use the
    affected iterator. Two build tools' advisories stay too (deepmerge has no fixed version;
    minimatch's fix is a new major version a few days old); neither ends up in the app.
  • Security: inline images are capped per message. A mail could name one big
    attachment under a thousand cid: names and make the app fetch and keep it a thousand
    times. Images are now kept by the attachment they are (fetched once), at most 64 names
    are looked up per message, and at most 25 MiB of images are shown for it. An image found
    too big isn't downloaded again when the theme or a view option changes.
  • Security: safer saved names. A suggested name that is a Windows device name (CON,
    NUL, COM1.pdf...) gets a _ in front, a leading - becomes _, trailing dots and
    spaces go, and a long name is cut at 240 bytes keeping its extension. Drag-out files are
    created new, never written through anything already in their place.
  • Security: a mail can't turn its whole body into one link. A link styled
    position:fixed over the whole frame opened the sender's address on any click; inline
    styles now keep only look-and-layout properties (no position, z-index, transform,
    scale...). Relative and
    //host addresses are dropped (with "Load images" on they reached the app's own mail
    scheme), a style loads only https: (and inline) images, and data: stays only as an
    inline picture.
  • Security: hostile mail can't stall the app. HTML past 4 MiB or nested deeper than
    1000 elements (as the HTML parser nests them) is shown as its plain text, under a note,
    instead of being parsed, and codes and links are found in linear time.
  • Security: size limits on provider answers. Raw messages and attachments are read up
    to 64 MiB (JSON answers a little more), and an attachment's download address is used only
    on the provider's own site, so a hostile answer can't fill the memory or send the
    account's token elsewhere.
  • Security: smaller hardening of the app. A mailto: link from a mail is
    rebuilt from its address, subject and body only, so attach= can't prefill a file from
    the disk in mail clients that honored it. A sender's name in a Linux notification's
    title can't carry markup (< and > show as ‹ and ›) for servers that format it.
    The mail and source documents carry their own sandbox and frame-ancestors policy, so
    they are sandboxed wherever they are loaded. Drag-out files left by a crashed run are
    deleted at the next start, never those of another instance still running.
  • Security: saved attachments are marked as downloaded on Windows (Zone.Identifier)
    and macOS (com.apple.quarantine), so the system checks them as it does a browser's.

What's new in 0.1.3

  • Names and subjects show decoded. Mail from tempmail.lol showed encoded sender names
    and subjects such as =?utf-8?q?Zo=C3=AB?= in the message list, the message header and
    notifications; they now read Zoë, as with the other providers (from CLI 0.3.3's core).
  • A label picks one inbox. The new inbox dialog accepted a label another inbox already
    had, or a username that was another inbox's label, and then the CLI's -i LABEL matched
    neither or both. These are now refused before anything is created, with the reason under
    the label or username field; the dialog stays open so you can change it.
  • A clearer error when a domain isn't offered while one provider is down: the
    unreachable provider is named first, then what the others answered.

What's new in 0.1.2

  • Linux: the window shows the tmpmail icon in the title bar and the task switcher. KDE
    on Wayland showed its generic "W" icon, since the window's app ID (tmpmail-gui)
    matched no desktop file; it is now tmpmail, like the desktop file.
  • Linux: clicking a notification brings the window to the front on KDE. The message
    opened, but KWin only flashed the taskbar entry; the app now passes on the activation
    token the notification server sends with the click.
  • Keyboard shortcuts keep working after a click inside the mail. They stopped until
    you clicked elsewhere in the app. Selected mail text is now copied with right-click →
    Copy, since Ctrl+C goes to the app.
  • Linux: notifications are labeled "tmpmail", not "tmpmail-gui", and KDE and GNOME
    list them under the app's notification settings.
  • Linux: in KDE's notification history, use the "View" button to open a message;
    clicking the entry's text does nothing there (Plasma's behavior). The click action is
    now named "Open" for servers that list actions.
  • No more "New mail" notice for the message a notification click just opened: the
    in-app notice for it now goes away; notices about other new mail stay.
  • Linux on Wayland: the window fits the screen. It opened at 1240×780 whatever the
    screen, so on a 1280×800 screen its bottom (Settings' Save button, the toasts) was behind
    KDE's panel: GTK can't read the work area there. It now leaves room for the panels.

What's new in 0.1.1

  • Windows: clicking a notification opens the message, also from the notification
    center after the toast is gone. The installed app shows its own toasts, which launch a
    tmpmail-desktop: link the installer registers; the app restores its window (or starts)
    and opens that inbox and message. Starting the app a second time now brings back the
    one that runs.
  • Opening a message marks it read: the unread dot and the sidebar count update at once,
    and the mark is saved with the inbox, so tmpmail ls and the TUI agree (with CLI 0.3.2).
  • Small screens: the window opens within the screen's work area (it was 1240×780
    whatever the screen), and every dialog keeps its title and buttons in view with a
    scrolling body. Settings' Save button was off-screen on a 720-pixel-high screen.
  • "Live" stays on for mail.tm: the push connection was dropped and redone every 75
    seconds, so "Live" blinked off (after new mail, among other times). It now stays up, and
    a quick reconnect doesn't hide it.
  • Delete confirmations open on "Keep it", not on the red button, so a stray Enter or
    Space right after d or D cancels instead of deleting. Press y (as in the TUI) or
    click the red button to delete.
  • The Windows installer shows the tmpmail icon, header and sidebar instead of NSIS's.

What it does

  • Inboxes at mail.tm, mail.gw, DropMail, Guerrilla Mail, tempmail.lol and Maildrop: create
    one (the first provider that works, or one you pick, with a username and domain where the
    provider allows it, and a label), copy the address, make it the CLI's active inbox, delete
    it.
  • Live mail on the same worker as tmpmail tui (polling, plus push on mail.tm and
    DropMail). New mail is marked New.
  • The verification code in a banner with a Copy button, and the likeliest verification link
    first, each with Open and Copy.
  • A safe HTML preview, in light or dark (mail with its own colors is inverted, with an
    "Original colors" switch). Remote images load only on request, over https only.
  • Attachments: Save, or drag them out on Linux and macOS.
  • Notifications for new mail while the window is in the background, with the code when
    there is one. A click opens the message.
  • An opt-in tray icon (New address, Copy code, Quit) that keeps checking with the window
    closed.
  • A settings screen for the provider order, poll interval, push, request timeout and the
    desktop options.
  • The TUI's keyboard shortcuts (? lists them).

Download

System File
Windows 10/11 (x64) tmpmail-desktop-0.1.4-x64-setup.exe
macOS 10.15+ (Apple silicon and Intel) tmpmail-desktop-0.1.4-universal.dmg
Debian, Ubuntu (x86_64) tmpmail-desktop-0.1.4-amd64.deb
Fedora and other RPM-based (x86_64) tmpmail-desktop-0.1.4-x86_64.rpm
Other Linux (x86_64) tmpmail-desktop-0.1.4-x86_64.AppImage

Check a download against SHA256SUMS, or its build attestation:

gh attestation verify tmpmail-desktop-0.1.4-x86_64.AppImage --repo qorvyx/tmpmail \
  --signer-workflow qorvyx/tmpmail/.github/workflows/gui-release.yml

Installing an unsigned app

The app isn't signed with a paid certificate, so each system warns once.

  • macOS: open the DMG and drag tmpmail to Applications. Open it once: macOS refuses.
    Then go to System Settings → Privacy & Security, click Open Anyway next to the
    message about tmpmail, and enter your password. On macOS 15 (Sequoia) and later,
    Control-click → Open no longer skips this. If you trust the download, xattr -dr com.apple.quarantine /Applications/tmpmail.app does the same from a terminal.
  • Windows: SmartScreen says "Windows protected your PC": click More info, then
    Run anyway. The installer installs for your user only, with no admin prompt, and
    fetches WebView2 if it's missing. If Smart App Control is on, it blocks the installer
    outright with no way past; it can only be turned off as a whole (Windows Security → App &
    browser control).
  • Linux: sudo apt install ./tmpmail-desktop-0.1.4-amd64.deb, or sudo dnf install ./tmpmail-desktop-0.1.4-x86_64.rpm; both pull in WebKitGTK 4.1. The AppImage runs
    as is after chmod +x (it may need libfuse2; without FUSE, run it with
    --appimage-extract-and-run). On NVIDIA, if the window stays blank, start it with
    WEBKIT_DISABLE_DMABUF_RENDERER=1.

Use tmpmail CLI 0.3.2 or later alongside the app. The settings screen can write the
http_timeout key to config.toml, which tmpmail 0.2.0 refuses, and a CLI older than 0.3.2
drops the app's read marks when it rewrites an inbox.

Known limits

  • No auto-update yet: watch the releases page.
  • Windows: no dragging attachments out (a drag can hang the app there); Save works.
  • Linux: the tray needs a StatusNotifier host (stock GNOME needs the AppIndicator
    extension), and clicks on the tray icon itself aren't reported, so everything is in its
    menu. Copying on pure Wayland needs a compositor with clipboard data-control support.
  • macOS: the notification permission prompt and the tray may not work yet. An ad-hoc signed app may be asked for permissions again after each update.
  • x86_64 only on Linux and Windows for now.