SafeContext Privacy Policy
Effective November 23, 2026
SafeContext is a Mac app, developed by Cyrus Karbassiyoon (“we”, “the developer”), that downloads your Gmail to your own computer, removes sensitive information from it on your computer, and lets you and AI assistants you choose search the result. This policy explains what data SafeContext uses, how it is protected, and where it goes. It applies to the SafeContext app and to this website, safecontext.me.
The short version
- Your email is processed and stored only on your Mac. The developer never stores or keeps a copy of your email.
- Sensitive data is removed before anything is saved.
- Nothing leaves your Mac unless you turn on Use in Grok or connect an AI app, and then only scrubbed results for that AI's searches are shared.
- With Use in Grok on, those scrubbed results pass through SafeContext's relay on their way to Grok. The relay does not store or log them.
- SafeContext only reads your mail. It cannot send, delete or change email.
- Your Google data is never sold, never used for advertising, and never used to train AI models.
Google data SafeContext accesses
With your permission, SafeContext uses one of these read-only Gmail permissions, depending on the mode you choose when you connect:
https://www.googleapis.com/auth/gmail.readonly(full mode): to read your messages and their labels so they can be scrubbed and searched on your Mac.https://www.googleapis.com/auth/gmail.metadata(headers-only mode): to read message headers such as sender, recipients, subject and date, without message bodies.
If you also choose to connect Google Calendar, SafeContext asks separately, at that moment, for one more read-only permission:
https://www.googleapis.com/auth/calendar.readonly: to read your calendars and events (title, time, organizer, attendees, description, location and video-call link) so they can be scrubbed and searched on your Mac. SafeContext cannot create, change or delete events, and it never reads dial-in PINs or meeting passcodes.
SafeContext also learns the email address of the Google account you connect, so it can show which account is connected. It never downloads the contents of attachments; it records only each attachment's file name, type and size.
How SafeContext uses your Google data
SafeContext uses Gmail and Google Calendar data only to provide the features you see in the app:
- building a scrubbed, searchable copy of your mail on your Mac;
- letting you browse and search that copy;
- letting Grok, when you turn on Use in Grok, search that copy to answer the questions you ask it, with links back to the original messages in Gmail and events in Google Calendar; and
- letting AI apps that you connect on your Mac search that copy on your behalf.
How your data is processed and stored
- Scrubbing happens on your Mac, in memory, before storage. Whole messages are skipped if they are spam or trash, promotions, social or forum notifications, bulk mail, security messages (such as verification codes and password resets), or come from banking, tax or health senders. In the messages that remain, values such as one-time codes, passwords, card and bank numbers, Social Security numbers, API keys, dates of birth, phone numbers and street addresses are replaced with placeholders. Quoted replies and signatures are removed.
- Only scrubbed messages are saved, in a database file on your Mac, in
~/Library/Application Support/SafeContext. - Your Google sign-in token and the private Use in Grok link are stored in your Mac's Keychain, not in a plain file.
- A short activity list of what Grok asked for (time, request and number of results, never the results) is kept on your Mac so you can see it in the app. You can clear it at any time.
- SafeContext has no analytics, tracking or telemetry, and this website sets no cookies.
How your data is protected
We want to be precise about this:
- The SafeContext folder and database are created so that only your macOS user account can read or write them.
- The Google sign-in token is protected by the macOS Keychain.
- The database itself is not separately encrypted by SafeContext. It is protected by your Mac's own security: your user account password and, if you turn it on, FileVault disk encryption. We recommend keeping FileVault on.
- Because sensitive values are scrubbed before saving, the stored copy holds less sensitive data than your mailbox does.
- When messages are deleted from the database, SafeContext overwrites the deleted content rather than leaving it in free space in the file.
- Connections to Google, to SafeContext's relay and from the relay to Grok use HTTPS or secure WebSockets (TLS).
When data leaves your Mac
Only in the cases below, each started by you. Sharing with an AI assistant is the feature you are asking SafeContext to perform.
- Use in Grok. Off until you turn it on. When it is on, you add a private link to Grok's connectors and approve Grok once in SafeContext. After that, when you ask Grok something, Grok sends its search to SafeContext's relay (
relay.safecontext.me), the relay passes it to SafeContext on your Mac, your Mac answers from the scrubbed copy, and the relay passes the scrubbed results back to Grok. Then those results are with xAI, which handles them under its own terms and privacy policy.- The relay is operated by the developer on Cloudflare. It forwards requests and results in memory and does not store or log them. What it does store is only what it needs to recognise your Mac and Grok: a random link identifier and one-way hashes of your Mac's relay secret and of Grok's sign-in tokens. None of it is Google data. As with any website, Cloudflare handles network information such as IP addresses to deliver and protect the service.
- It only works while your Mac is awake and SafeContext is open. Grok can only use read-only search tools; it cannot change, send or delete anything.
- To stop: turn the Use in Grok switch off, and nothing more is sent. Regenerate link revokes Grok's access entirely; you can also remove the connector in Grok.
- AI apps you connect on your Mac. If you connect another AI app to SafeContext on your Mac (through the Model Context Protocol), that app can search and read your scrubbed messages when you use it. You choose whether to connect an app, and you can disconnect it at any time. The app handles that data under its own terms.
- Opening a message in Gmail opens it in your web browser at Google.
The developer never keeps your Google data. With Use in Grok on, scrubbed results pass through the developer's relay only in transit, as described above.
Google API Services User Data Policy and Limited Use
SafeContext's use and transfer to any other app of information received from Google APIs will adhere to the Google API Services User Data Policy, including the Limited Use requirements. In particular:
- Limited use. SafeContext uses Google user data only to provide and improve the user-facing features described in this policy, which are prominent in the app.
- Limited transfer. SafeContext does not transfer Google user data to anyone except as necessary to provide those features (such as passing scrubbed search results through SafeContext's relay to Grok, or to an AI app on your Mac, when you turn that on), with your consent, to comply with applicable law, or as part of a merger, acquisition or sale of assets with notice to you.
- No human reading. No person, including the developer, reads your Google user data, unless you give explicit consent for specific messages (for example, to help with a support request), it is necessary for security purposes such as investigating abuse, it is required to comply with applicable law, or the data has been aggregated and anonymized for internal operations. Because your data is kept only on your Mac, and the relay passes Use in Grok results through without storing or logging them, the developer has no copy of it to read.
- No advertising, selling or AI training. SafeContext does not use or transfer Google user data to serve advertisements, including retargeting, personalized or interest-based ads; does not sell it; does not use it to determine credit-worthiness or for lending purposes; and does not use it to develop, improve or train generalized AI or machine-learning models.
Keeping and deleting your data
- Your scrubbed mail stays on your Mac until you delete it. In SafeContext, Settings → Disconnect and delete local mail deletes it and revokes SafeContext's access to your Google account.
- You can also revoke access at any time at myaccount.google.com/permissions.
- Uninstalling SafeContext and deleting its folder removes everything it stored.
- The relay keeps none of your data. Regenerating the link in SafeContext deletes everything the relay held for it (the link identifier and the hashes above).
- Data Grok received, or that an AI app you connected received, is kept under that service's own policy.
Children
SafeContext is not intended for children under 13.
Changes
If this policy changes, the updated version will be posted on this page with a new effective date.
Contact
SafeContext is developed by Cyrus Karbassiyoon.
Questions about this policy or your data: privacy@safecontext.me