8000 GitHub - igorkulman/Postie: A lightweight native Gmail client for macOS. No Electron, no bloat. · GitHub
[go: up one dir, main page]

Skip to content
igorkulmanPublic

About

A lightweight native Gmail client for macOS. No Electron, no bloat.

Topics

Resources

Stars

16 stars

Watchers

0 watching

Forks

Repository files navigation

Postie

A small native Gmail client for macOS, built with SwiftUI.

Postie is for people who want a simple Mac email client without Electron, subscriptions, AI features, or workspace bloat.

Postie

Features

  • Native SwiftUI macOS app
  • Gmail integration using Google sign-in and the Gmail API
  • Multiple Gmail accounts, merged into one set of folders. Replies, forwards and archive/trash actions always go through the account the conversation belongs to and the default account for new messages can be chosen in Settings. Account addresses are shown in the conversation header when several accounts are connected
  • Inbox, Drafts, Outbox, Sent, Archive, Junk, and Trash
  • Conversation view with HTML email rendering, easy access to earlier replies, expandable recipient addresses, and a subject that stays visible while scrolling
  • Previous/next conversation navigation from the toolbar or keyboard
  • Independent text sizing: 13–26 pt for the message list in Settings > General, and HTML/plain-text message-body zoom in View > Text Size
  • Compose, reply, reply all, and forward in a rich-text editor (bold, italic, underline, lists, links), with attachments and your Gmail signature
  • Drafts save automatically while writing, with visible saving and retry status. Closing a composer keeps its draft; discarding is an explicit, confirmed action. Drafts sync to Gmail when possible. Unsynced work, including half-typed addresses and attachment copies, is kept on this Mac and can be reopened from Drafts
  • Persistent Outbox: outgoing messages and attachments are saved on this Mac, with background delivery and retries while Postie is running. Queued mail survives quitting; failed messages can be retried, edited, or deleted
  • Instant archive and Trash actions, with rollback if Gmail rejects the change and Undo for accepted archive/recoverable Trash actions
  • Native multiple selection (⌘-click / ⇧-click) for bulk archive, Trash, and read/unread actions
  • Star and read/unread actions
  • Search as you type across all accounts, powered by Gmail: search the current folder or All Mail, with Gmail operators such as from: and has:attachment. Results are not stored in the local cache
  • Reading attachments: shown in the message header and as a chip in the list; double-click to open, or use the context menu to save, share, or copy
  • Calendar invitations: event details and meeting links above the email body, with Accept, Maybe, and Decline replies sent through the receiving Gmail account. Supports inline calendar parts and .ics attachments, all-day events, and invitation updates/cancellations within a conversation. Optional Connect Google Calendar… access reads your response from the receiving account's primary calendar, including replies made in Gmail, Mimestream, or other calendar apps. It refreshes when opening an invitation or choosing Refresh response. Calendar access is read-only and not required for mail or email RSVPs; Postie does not display an agenda, modify calendars, or add events to a local calendar. Without Calendar access, Postie shows status only from the invitation and replies sent during the current app session. “Reply sent” confirms Gmail accepted the reply, not that the organizer’s calendar processed it
  • Local SQLite cache for previously loaded mail
  • Incremental Gmail synchronization while the app is running
  • Mailbox loading, search, and pagination status, with progress indicators for archive and trash actions
  • Native light and dark mode
  • Dock badge for unread Inbox mail
  • Automatic updates, with a manual Check for Updates… command in the Postie menu

Keyboard shortcuts

Action Shortcut
New message ⌘N
Get new mail ⇧⌘N
Previous / next conversation ⌥⌘↑ / ⌥⌘↓
Reply / reply all ⌘R / ⇧⌘R
Forward ⇧⌘F
Edit draft ⌘E
Mark as read / unread ⇧⌘U
Flag / unflag ⇧⌘L
Archive ⌃⌘A
Move to Trash ⌘⌫
Undo archive / recoverable Trash ⌘Z
Bigger / smaller message-body text ⌘+ / ⌘−
Reset message-body text size ⌘0

Text-size shortcuts affect the message body, not the message list.

Status

Postie is an early project that I built primarily as the Gmail client I wanted to use myself.

It supports Gmail accounts only and is not intended to replace every feature of Gmail or become a generic IMAP client.

Planned:

  • Search suggestions (people and subjects)
  • Showing CID (embedded) images
  • Gmail labels
  • Full offline mailbox downloads

Not planned:

  • Generic IMAP / Exchange support
  • Push notifications while Postie is closed

Privacy and permissions

Postie talks to Gmail directly from your Mac. There is no Postie server.

It asks for these Google permissions:

  • gmail.modify to read mail, to archive, trash, star, and mark mail as read or unread, and to save and delete your drafts
  • gmail.send to send mail
  • gmail.settings.basic to read your signature, so new messages can include it. Postie never changes your Gmail settings
  • contacts.readonly and contacts.other.readonly to read your Google contacts and the people you have written to, so the composer can suggest addresses. Postie never changes your contacts

Only if you choose Connect Google Calendar… on an invitation, it additionally requests calendar.events.readonly to look up that invitation in your primary Google Calendar and show your response. This is optional, is never used to modify calendar events, and can be declined without affecting mail

Postie never permanently deletes mail. Trash is Gmail's normal, recoverable Trash. Sign-in credentials stay in your Mac's Keychain, and loaded mail and your contacts are cached in a local SQLite database on your Mac. Unsynced drafts and copies of their attachments are kept separately in Application Support until they sync, 79B8 are queued for sending, or are explicitly discarded.

The Gmail ones are restricted scopes and Postie has not been verified by Google, so the sign-in screen shows "Google hasn't verified this app". Choose Advanced > Go to Postie (unsafe), then tick all the permissions on the next screen. Postie needs all of them to work. Unverified apps are limited to 100 users. If you fork Postie, create your own OAuth client in Google Cloud and put it in Configuration/Google.local.xcconfig (see the .example file).

More details are in the privacy policy.

Download

Download the .dmg from the latest release, open it and drag Postie to your Applications folder. The app is signed with a Developer ID and notarized by Apple, and updates itself from then on. See CHANGELOG.md for what changed.

Requirements

  • macOS 26
  • Xcode 27 (only to build it yourself)

Running Postie from source

Open Postie.xcodeproj, choose the Postie scheme and My Mac, and run. For optional Calendar response lookup, also enable the Google Calendar API in the Google Cloud project that owns the OAuth client and configure the calendar.events.readonly scope on its consent screen. Existing mail credentials continue working; grant Calendar access from an invitation when you want to use it.

Selection regression without a mailbox

In a Debug build, launch with -PostieSelectionRegression to run the real Gmail list/detail UI against deterministic mail and an in-memory SQLite cache. It uses no real credentials, network requests, or saved mailbox database.

  1. Open Thread to open.
  2. Choose Regression > Insert Newer Mail. The highlight and detail must stay on the same conversation, even though its row moved.
  3. Archive it with ⌃⌘A. Next older thread must become selected and open. Use the arrow keys immediately to check that keyboard focus is in the list.
  4. Archive the remaining threads until the inbox is empty. Both selection and detail must clear, Archive/Trash must be disabled, and the empty list must retain keyboard focus. Inserting mail again must not automatically open it.

The Regression menu also simulates an external archive of Thread to open and a rejected next archive/trash. External disappearance clears selection without opening unrelated mail. Archive/Trash hides the conversation and advances selection immediately; rejection restores it without overriding subsequent navigation.

The policy is identity-based: an explicit removal chooses the next surviving older neighbor from the visible order at action time, then the nearest surviving newer neighbor, then no selection. Reordering never changes a surviving selection. Removing an unselected thread or completing an operation after the user changes selection does not choose a new thread.

Tests

Run the Postie scheme's tests (⌘U). They use fixtures and need neither a Google account nor network access.

About

A lightweight native Gmail client for macOS. No Electron, no bloat.

Topics

Resources

Stars

16 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages

0