omamail README

项目的 README,来自 github.com/huacnlee/omamail。合并为一个 markdown 文件:README.md。

Omamail

Omamail is a native email and calendar app with multiple accounts and keyboard navigation, for macOS, Linux and Windows.

It is built with NSH (Native Shell): the interface is TSX drawn with native views, and the Rust mail library runs in the same process. One small package per platform, no web view, no bundled UI toolkit and no separate backend to install.

Omamail — reading demo mail in the dark theme

Screenshots show the native Linux app in its dark theme, using fictional demo mailboxes and messages.

If this helps you, please sponsor me.

Install

macOS (Apple silicon) and Linux (x86_64 and aarch64):

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

Windows (x86_64), in PowerShell:

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

The installer picks the latest release for your system and checks it against the release's SHA256SUMS before installing. It needs no administrator access, and it replaces Omamail 0.12 or earlier while keeping your accounts and settings. From then on Omamail updates itself. For a specific version, another location, removal or a manual install, see the installation guide.

Omarchy bar entry (optional)

On Omarchy, the plugin puts an envelope in the bar that opens Omamail, or this page when the app is not installed yet:

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

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. On Omarchy (Linux), 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. Setting Omamail as the default mail client is Linux-only for now.

Text size

On Omarchy, 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. Elsewhere the base size is 14. To enlarge only the message body, use Ctrl+= / Ctrl+- / Ctrl+0 in the reader; the zoom is remembered.

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)

正在搜索数据库…

这是什么?Omamail 是面向 Omarchy 桌面(基于 Hyprland/Quickshell 构建)的原生电子邮件客户端插件,可以在一个统一主题的窗口中读取、整理并回复来自 Gmail、Outlook、HEY、JMAP 和 IMAP 账户的邮件。
这是一个独立的邮件应用,还是需要依赖其他程序运行?它是一个 Quickshell 插件,运行在 Omarchy 桌面上已在运行的 omarchy-shell 进程之中,而不是一个独立的应用程序。
怎么把它添加到我的 Omarchy 中?启用插件并点击栏中的信封图标即可;如果想用快捷键打开它,需要在 ~/.config/hypr/bindings.lua 中添加一条指向 'shell'(而不是插件 id)的绑定。
除了 Omarchy 本身还需要安装什么?它需要 Omarchy 4,以及 socat、secret-tool、openssl、xdg-open、python3 和 curl;使用 HEY 邮箱还需要单独的 HEY CLI 工具。
连接 HEY 账户时会有什么不同或缺什么?HEY 不提供 IMAP 也没有公开 API,所以 Omamail 只能通过 HEY CLI 与它交互:没有加星标或归档(HEY 会把会话归入它自己的信箱),还没有已发送箱,而会议卡片、一键退订和附件则只能留在 HEY 自己的应用里。
我的邮箱密码和令牌保存在哪里?Gmail 和 Outlook 的刷新令牌以及所有 JMAP/IMAP 密码都存储在 GNOME Keyring 中;HEY 邮箱在这里完全不保存任何凭据,因为 HEY CLI 自己持有令牌。
除了 Gmail 和 HEY 还能连接哪些提供商?通过 Microsoft OAuth 连接 Outlook,以及任何 JMAP 或 IMAP/SMTP 服务器,涵盖 Fastmail、iCloud Mail、Yahoo、Zoho、GMX,还有通过 Bridge 接入的 Proton Mail。
能在应用内回复会议邀请吗?可以,会议卡片直接从邮件的日历部分读取,按你自己的时区显示时间,在 Gmail 和 IMAP 上你可以一键回复“是”“可能”或“否”,或一键加入 Google Meet 链接。
它能处理阿拉伯语或希伯来语这类从右到左的语言吗?可以,阿拉伯语、希伯来语或波斯语邮件会从右到左排版,包括主题、列表行和正文,而旁边的英文邮件仍保持从左到右,并且无论会话方向如何,“Re:”前缀都保持拉丁字母。
为什么不能在单独的窗口里打开写信界面?在 Omarchy 的面板机制下,第二个窗口会占用自己独立的屏幕区域,所以写信和回复都在同一个应用窗口内进行。
作者
huacnlee
大小
15.4 MB
星标
347
时长
3个月
提交 · 90 天