Skip to content
isaaclinsPublic

About

A poweruser mail client for every plattform, free forever

Topics

Resources

Security policy

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

Contributors Forks Stargazers Issues MIT License


Augment

Augment

A private, single-user Gmail desktop client for macOS — rules, snooze, watch-for-reply, and AI triage, layered on top of Gmail with zero remote content.
Setup guide »

Architecture & Security · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

Augment is a personal Gmail augmentation client. Gmail stays the source of truth; Augment layers the power features other clients paywall — a rules engine, snooze, watch-for-reply, AI triage, quick actions, and native macOS notifications — directly on top.

It talks to the Gmail REST API from the TypeScript layer with an in-memory access token, stores the refresh token in the OS keychain, renders mail with remote content blocked by default, and uses a small Rust backend only for the background scheduler, native notifications, secure storage, and OAuth glue.

The OAuth scopes are gmail.modify and gmail.send: read, label, archive, move to Trash, save drafts, and send mail from the composer or user-created Quick Actions. Augment never permanently deletes mail or marks spam.

(back to top)

Built With

  • Tauri
  • React
  • TypeScript
  • Rust
  • Vite

(back to top)

Getting Started

Prerequisites

  • macOS (Apple Silicon or Intel) with Xcode Command Line Tools
  • Node.js ≥ 20 and npm
  • Rust (stable) via rustup
  • A Google account and a free Google Cloud project

Installation

  1. Set up your Google OAuth client — see docs/SETUP.md.
  2. Clone the repo
    git clone https://github.com/isaaclins/augment.git
    cd augment
  3. Install dependencies
    npm install
  4. Add your OAuth credentials to .env
    cp .env.example .env
    # edit .env, paste in GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET
  5. Run the app
    npm run tauri dev

(back to top)

Usage

After Sign in with Google (a browser tab opens — approve, then return):

Feature What it does
Inbox + reader Lists inbox threads, opens a conversation, renders the body sanitized.
Rules engine From/To/Subject/Body conditions → add label / archive / mark read / star. Auto-applies on refresh.
Snooze Archives a thread + tags Augment/Snoozed; at the chosen time it resurfaces in the inbox and fires a macOS notification.
Watch for reply If no inbound reply arrives by the deadline, a macOS notification fires.
AI triage Local Ollama model labels each thread; invented labels surface as approvals in the Assistant panel.
Assistant Right-side chat panel — Ask / Request / Agent modes, acting on selection.
Quick Actions User-defined macros (shortcut → ordered steps: tag, move, mark, snooze, compose, send, …).
Private rendering Email renders as plaintext or sanitized HTML in a sandboxed iframe. Remote images are blocked until allowed per-email or per-sender.
Background mode Closing the main window hides it instead of quitting, so snooze/watch checks keep running while Augment remains open in the menu bar.

Build a release

npm run tauri build
# →  src-tauri/target/release/bundle/macos/Augment.app
# →  src-tauri/target/release/bundle/dmg/Augment_0.1.0_aarch64.dmg

Tests

npm run test                 # frontend (Vitest)
npm run typecheck            # tsc --noEmit
cd src-tauri && cargo test   # Rust

(back to top)

Roadmap

  • Inbox, reader, sanitizer, rules, snooze, watch-for-reply
  • AI triage with open taxonomy + invent → approve
  • Sort / filter view state
  • Assistant panel (Ask / Request / Agent)
  • Quick Actions + composer
  • Background scheduler mode while the app remains running
  • Launch-at-login helper / always-on daemon for checks after a full quit
  • Chunked agent loop with progress + Stop (lift the 40-row context cap)
  • Cross-platform builds (currently macOS only)

See the open issues for the full list.

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star!

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'feat: add AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Top contributors

contrib.rocks image

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Isaac Lins — contact@isaaclins.com

Project Link: https://github.com/isaaclins/augment

(back to top)

Acknowledgments

(back to top)

About

A poweruser mail client for every plattform, free forever

Topics

Resources

Security policy

Stars

2 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages