About This Application
mailrat is a self-hosted, offline-first Gmail client. Its purpose is to allow an authorised user to read, compose, send, and manage their Gmail messages and Google Contacts through a native desktop application, terminal UI, HTTP web interface, and command-line interface — all from a single Go binary backed by a local SQLite cache.
mailrat accesses your Gmail account and Google Contacts via the Google API solely to provide these personal email management features on your behalf. No data is shared with third parties or used for any other purpose.
This application is privately operated and is not available to the general public. Access is restricted to authorised Google accounts.
What This App Does
- Reads and caches your Gmail messages, threads, and labels in a local SQLite database
- Composes and sends email, including rich-text HTML messages
- Organises mail using Gmail labels (apply, remove, archive, trash)
- Syncs and searches your Google Contacts locally
- Supports multiple Gmail accounts in a unified inbox
- Operates offline against the local cache when no network is available
Google API Scopes Used
This application requests the following OAuth 2.0 scopes from Google:
-
https://www.googleapis.com/auth/gmail.readonly— Read access to Gmail messages, threads, labels, and message metadata. -
https://www.googleapis.com/auth/gmail.modify— Modify labels and mark messages as read/unread or move them to Trash. Does not include the ability to permanently delete messages. -
https://www.googleapis.com/auth/gmail.send— Send email on your behalf. -
https://www.googleapis.com/auth/contacts— Read and manage your Google Contacts for address autocomplete when composing.
Data & Privacy
All data (messages, contacts, OAuth credentials) is stored locally on the machine running mailrat. No personal data is transmitted to or stored on any third-party server. The application communicates exclusively with Google API endpoints on your behalf.
Please review our Privacy Policy for full details on what data is accessed, how it is stored, and your rights.
Contact
For enquiries about this application, please refer to the contact details in the Privacy Policy.