Skip to content
everpcpcPublic

About

A focused, native Gmail client for macOS.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Mica icon

Mica

A focused, native Gmail client for macOS.
Read, organize, and reply to mail in a quiet three-pane workspace.

CI Latest release Go version Platform: macOS

Mica's English three-pane mailbox, conversation list, and reader

Features

  • A calm three-pane workflow. Navigate mailboxes, categories, and labels while keeping the current conversation in focus.
  • Built for inbox processing. Search Gmail, filter unread conversations, and use Gmail-style keyboard shortcuts.
  • Fast local actions with undo. Archive, star, trash, report spam, and change read state immediately while changes synchronize in the background.
  • Compose and reply. Write new mail, reply, reply all, forward, and open or save attachments.
  • Persistent Outbox. Sends are journaled locally with attachments and a stable Message-ID. Review, retry, or delete outgoing mail; retries check Sent and require confirmation before sending again.
  • Scheduled sending. Choose a preset or a local date and time. Mica keeps the schedule and attachments on this Mac and sends while it is running, or after reopening if the time was missed. Canceling returns the complete message to a draft; uncertain results always require review before another attempt.
  • Persistent Snooze. Archive conversations until a local wake time, see them in Snoozed, reschedule or cancel, and restore them after restarts. Gmail changes stay ordered through the same background queue.
  • Email links. Open mailto: links into a draft, with an explicit default email app setting in macOS.
  • Label management. Assign, create, recolor, and delete custom Gmail labels, with color-coded capsules in the conversation list and reader.
  • Gmail filters. Manage server-side rules for the active Gmail account through Mailbox → Gmail Filters…. Create rules from sender, recipient, subject, search, and attachment conditions, and delete rules after confirmation. Apply custom labels, stars, Inbox skipping, and read state to new incoming messages. Existing advanced criteria and forwarding actions remain readable; Mica does not replay filters against old mail.
  • Comfortable reading. Sanitized HTML mail, inline images, collapsible messages, light and dark appearances, and reduced-motion support.
  • Remote image privacy. Remote images are blocked by default. Allow them for one message or enable automatic loading in Settings.
  • Multiple Gmail accounts. Add, switch between, reauthorize, and remove accounts without mixing their credentials, caches, drafts, or notifications.
  • All Inboxes. Merge multiple Gmail inboxes with independent per-account pagination, owner-aware reading, replies, drafts, and actions, or expand the account group to open one account's Inbox.
  • Offline access and notifications. All Mail prefetches the next page and keeps cached pages available for offline browsing. Search previously loaded mail in the active account and reopen cached attachments without a network connection. Local search does not cover Gmail's complete index or every Gmail search operator, and this is not a complete Gmail mirror. Gmail watch and history synchronization keep the cache current.
  • English and Simplified Chinese. Follow the system language or choose one in Settings.
  • A complete demo mailbox. Explore the workflow without connecting a Google account.

Installation

Download the latest universal DMG from GitHub Releases, open it, and drag Mica to Applications. The universal build supports both Apple Silicon and Intel Macs.

On first launch, Mica opens the interactive demo mailbox. Open Settings with ⌘, to connect Gmail, change the appearance, or choose a language.

Building from source

Prerequisites

  • macOS
  • Go 1.27.2 or newer
  • A Google Cloud project with the Gmail API and Cloud Pub/Sub API enabled

Push notifications also need permission to manage the project's Pub/Sub topic and subscription and to update the topic's IAM policy. Mica adds the Gmail push service account as a topic publisher automatically. Existing accounts may need explicit reauthorization to grant the Pub/Sub OAuth scope. The current account's status dot in the main-window sidebar and Settings → Push notifications show the connection state, preserve the underlying API error, and link to the relevant Cloud Console pages. Click the dot to open the detailed settings.

Clone the repository:

git clone https://github.com/everpcpc/mica.git
cd mica

Mica embeds an OAuth Desktop client at build time. Create one in Google Cloud Credentials, download its JSON, and save it as:

internal/gmail/oauth-client.json

The file's installed object must include client_id and client_secret. Include project_id for push notifications. This configuration is required for every build, including demo-only development, and is ignored by Git so credentials are not committed.

Start the development app with live reload:

go tool mygo dev

Build a universal production app and DMG:

go tool mygo build -platform darwin/universal

Build artifacts are written to build/darwin-universal/. Local builds are ad-hoc signed by default; the release workflow handles signing, notarization, and publication.

Development

Mica is written in Go using MyGo native UI. The application structure, UI conventions, caching behavior, and synchronization model are documented in docs/design.md.

Run the project checks before submitting a change:

go tool mygo generate .
go tool mygo i18n check .
CGO_ENABLED=0 go test ./...
go test -race ./...
go vet ./...
go tool mygo vet .
git diff --check

Tests use fake services or the demo mailbox. Never run destructive tests against a real Gmail account.

Privacy and security

  • OAuth tokens are stored in the macOS Keychain.
  • Account metadata, labels, and loaded conversations are cached locally in SQLite. Draft and Outbox snapshots, outgoing attachments, and scheduled times are stored in the same local database. Received attachments are cached after being opened, saved, forwarded, or displayed as inline images. Individual attachments over 32 MiB are not cached, and each account's attachment cache is limited to 128 MiB with oldest-first eviction. Remote images remain on demand.
  • HTML mail is sanitized and rendered in per-message sandboxed WebViews. Remote image requests never carry Gmail credentials.

Contributing

Bug reports and focused pull requests are welcome. Please read the design notes and development lessons before making changes, add regression tests for fixes, and run the checks above.

See CHANGELOG.md for the release history.

About

A focused, native Gmail client for macOS.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages