omamail README

The project's README from github.com/huacnlee/omamail. As one markdown file: README.md.

Omamail

Omamail is a native email and calendar app with multiple accounts and keyboard navigation. It runs either as an Omarchy shell plugin or as a standalone Qt desktop application.

Omamail — reading mail with AI assistance

If this helps you, please sponsor me.

Install

Omarchy plugin

The plugin requires Omarchy 4 and follows the active Omarchy theme. It includes the bar widget, mailto: integration, and AI assistance through the configured Omarchy agent.

omarchy plugin add https://github.com/huacnlee/omamail.git --enable

Update it with:

omarchy plugin update omamail

Click the envelope in the bar, install the pinned backend when prompted, and add your mailbox. Prebuilt plugin backends are available for Linux x86_64 and aarch64.

Standalone desktop app

The standalone app includes mail, calendar, and native desktop notifications. It has no system tray, AI assistance, or operating-system mailto: registration in this release.

macOS & Linux:

curl -fsSL https://huacnlee.github.io/omamail/install.sh | sh

Windows (PowerShell):

irm https://huacnlee.github.io/omamail/install.ps1 | iex

Each installer verifies the release package before replacing an existing version. The macOS app and Windows executable are unsigned. The macOS installer removes quarantine only after verifying the downloaded archive. See standalone runtime and release details for package layout, platform integration, installer behavior, and security checks.

Run from source

Install Rust, CMake 3.21 or newer, and Qt 6.5 or newer, then use the repository Make targets:

make app-run

make app-run builds the standalone backend and Qt host, then launches from the source resources. Current source builds enable AI assistance on Linux and macOS with an installed Claude, Codex or OpenCode CLI; choose the agent in Settings. Windows AI support remains deferred. See Contributing for validation commands.

Features

Omamail calendar Writing a message Compact message list

Add your mailbox

Choose a provider in Settings. Released builds of Gmail sign in with an included Google OAuth client, and you can use your own instead; Outlook and Microsoft 365 need a Microsoft app registration. HEY uses the official HEY CLI. JMAP and IMAP usually use an app password or API token.

See mailbox setup for provider instructions and limitations, including Microsoft 365 and Proton Mail Bridge.

Make Omamail the default mail client

Omarchy opens HEY's web app on SUPER+SHIFT+E. Choose Settings → Default mail client → Set as default to make Omamail open mailto: links, SUPER+SHIFT+E, and SUPER+SHIFT+ALT+E for a new message.

The key bindings go in a clearly marked block in ~/.config/hypr/bindings.lua; Omarchy's own files are never changed. Undo removes the block and leaves the file as it was.

Open the Omarchy plugin from the keyboard

To use another key, add this to ~/.config/hypr/bindings.lua:

o.bind("SUPER + SHIFT + G", "Omamail", "omarchy shell shell toggle omamail '{}'")

Press ? in Omamail for the shortcut sheet, or see the keyboard guide.

Text size

Omamail follows the Omarchy font settings, so the whole window (text, icons and spacing) scales with base-size in ~/.config/omarchy/shell.toml:

[font]
base-size = 14

The change applies without a restart. To enlarge only the message body, use Ctrl+= / Ctrl+- / Ctrl+0 in the reader; the zoom is remembered. Prefer these over QT_SCALE_FACTOR, which scales the window like an image, halves the usable space at 2 and blurs at fractional values.

Help and contributing

Omamail is an independent project and is not affiliated with Google, Microsoft or 37signals. Gmail, Outlook and HEY belong to their respective trademark owners.

Licensed under the MIT License.

More projects

omamail (huacnlee/omamail)

Searching Database…

What is this?Omamail is a native email client plugin for the Omarchy desktop (built on Hyprland/Quickshell) that reads, triages and answers mail from Gmail, Outlook, HEY, JMAP and IMAP accounts inside one themed window.
Is this a standalone email app, or does it need something else running?It is a Quickshell plugin that runs inside the omarchy-shell process already running on an Omarchy desktop, not a separate standalone application.
How do I add it to my Omarchy setup?Enable the plugin and click the envelope icon in the bar; to open it with a shortcut, add a binding targeting 'shell' (not the plugin id) to ~/.config/hypr/bindings.lua.
What do I need installed besides Omarchy itself?It requires Omarchy 4 plus socat, secret-tool, openssl, xdg-open, python3 and curl; a HEY mailbox additionally needs the separate HEY CLI tool.
What's different or missing when I connect a HEY account?HEY publishes no IMAP or public API, so Omamail talks to it only through the HEY CLI: there's no star or archive (HEY files threads into its own boxes instead), no Sent box yet, and the meeting card, one-click unsubscribe and attachments stay inside HEY's own app.
Where are my mailbox passwords and tokens kept?Gmail and Outlook refresh tokens and every JMAP/IMAP password are stored in GNOME Keyring; a HEY mailbox has no stored credential here at all since the HEY CLI holds its own token.
What providers can I connect besides Gmail and HEY?Outlook via Microsoft OAuth, any JMAP or IMAP/SMTP server, which covers Fastmail, iCloud Mail, Yahoo, Zoho, GMX, and Proton Mail through its Bridge.
Can I reply to a meeting invite from inside the app?Yes, the meeting card is read directly from the message's calendar part, shows the time in your own clock, and lets you answer Yes, Maybe or No or join a Google Meet link in one click, on Gmail and IMAP.
Does it handle right-to-left languages like Arabic or Hebrew?Yes, an Arabic, Hebrew or Persian message lays out right-to-left including the subject, list row and body, while an English message alongside it stays left-to-right, and the Re: prefix stays in Latin regardless of thread direction.
Why can't I open compose in its own window?Under Omarchy's panel mechanism a second window would take up its own screen region, so compose and reply happen inside the same application window instead.
Creator
huacnlee
Size
15.4 MB
Stars
347
Age
3mo
Commits · 90 Days