Privacy Policy

mailwarden, last updated 14 November 2026.

mailwarden is a personal, single-user tool that connects a Gmail mailbox to an AI assistant running on the same computer. This policy explains what it does with Google user data.

1. Who operates it

mailwarden is operated by Leonardo Buares for their own Google Account. It is not offered as a service to other people and has no public sign-up. Contact: contact@leonardobuares.dev.

2. What data is accessed

Only after the account owner grants OAuth access, and only for that one account:

3. How the data is used

Solely to answer the owner's requests inside the local AI assistant: search and read mail, apply labels, archive, move to trash, and save drafts for the owner to review and send. The app cannot send email, because it does not request or implement any send capability.

4. Where the data is stored

The mailbox stays in Gmail. mailwarden keeps no copy, index or cache of it. The only local state is an OAuth refresh token stored at ~/.mailwarden/token.json on the owner's computer, encrypted with AES-256-GCM under a key held in the Windows Credential Manager, plus the OAuth client file ~/.mailwarden/credentials.json.

5. Sharing and transfer

mailwarden's use and transfer of information received from Google APIs adheres to the Google API Services User Data Policy, including the Limited Use requirements.

6. Retention and deletion

There is no server-side retention. The owner can delete all local state by deleting the ~/.mailwarden directory, and can revoke the app's access at any time at myaccount.google.com/permissions. Revoking access invalidates the stored token immediately.

7. Security

The OAuth token is encrypted at rest. The tool makes no inbound network connections and runs only on the owner's computer. It has no code path that can send email or permanently delete messages beyond the Gmail Trash.

8. Changes

Any change to this policy is published on this page, with the date above updated.