Privacy policy
This policy describes how Access Gateway (the "gateway"), a private tool operated by its owner, Maksim (maksim@kubot.ee), handles data from Google accounts and other mailboxes that the operator links to it.
Whose data
The gateway serves only mailboxes and Google accounts belonging to the operator and explicitly linked by him. Each Google account is linked through Google's own consent screen, signed in as that exact account. Mail and files from other people are processed only as part of the operator's own correspondence and of files available to the operator's accounts.
Google user data accessed
For each linked Google account the gateway requests the Gmail scope https://www.googleapis.com/auth/gmail.modify, the Google Drive scopes https://www.googleapis.com/auth/drive.readonly (reading) and https://www.googleapis.com/auth/drive (filing documents and editing Google Sheets, see below) and the basic openid and email scopes (to confirm which account was linked). For the operator's main linked account only it also requests the Google Calendar scopes https://www.googleapis.com/auth/calendar.readonly (reading calendars and events) and https://www.googleapis.com/auth/calendar.events (creating events), described below. It uses this access only to:
- search and read messages, threads and attachments;
- create and update drafts in that account, including attachments the operator supplies or copies from his own mail;
- list and create labels, and apply or remove labels on messages and threads;
- delete test drafts and test labels that the gateway itself created, and single drafts that the operator explicitly asks it to delete; it never deletes received or sent messages;
- search Google Drive and read file metadata (name, type, size, dates, owners, folder location), read Google Docs, Sheets and Slides as text, and download or export files;
- on the operator's request, save a mail attachment or a file he uploads into a folder of that account's Google Drive as a new file (the saved copy is checked by size and checksum), create folders, move files that the gateway itself saved (never folders), and move files and empty folders that the gateway itself created to the Drive trash; move other files and folders the account owns in its My Drive to the Drive trash or restore them from it when the operator's AI client declares the operator's explicit request naming them (not verifiable by the gateway);
- when the operator's AI client declares the operator's explicit approval of the specific change (an approval the gateway cannot verify itself), replace the content of an existing stored file (for example an edited spreadsheet or document) as a new version of the same file: the previous version is first marked to be kept forever in the file's version history, the replacement is refused if the file changed since it was read, and the result is checked by size and checksum;
- on the operator's request, convert a stored spreadsheet file into a new Google Sheet in the same folder (the original file stays unchanged and is checked by size and checksum), and edit existing Google Sheets in place: change cell values, insert or move rows and columns, delete empty rows, copy ranges, change formatting and append rows. Every edit first reads the previous values and returns them together with the result, so a change can be undone; the Google Sheets version history also keeps every earlier state. The broader
drivescope is used only for these actions: the gateway never permanently deletes Drive files, trashes only objects it created itself or items the account owns in its My Drive when the operator's AI client declares his explicit request naming them, replaces the content of a stored file only when the operator's AI client declares his approval, and always keeps the previous version, never deletes a sheet or clears a whole sheet, never shares files or changes their permissions, and never moves files it did not save or any folder.
Google Calendar data. Calendar access is used only on the operator's request, in his own session, to:
- list the calendars of that account, including calendars other people have shared with it: name, the operator's access role and time zone;
- read events of those calendars in a window of at most 62 days: title, time, location, description (the first 2,000 characters), the operator's own response status and the number of guests. Guests' email addresses and the organizer's and creator's addresses are not passed on;
- create a single event, with the title, time, location, description and reminders the operator confirmed, in a calendar where he has edit rights. The gateway creates an event only after the operator's confirmation, adds no guests and sends no invitations or notifications. It marks the events it created with a technical marker and changes or deletes only events carrying it; it deletes one only after the operator's explicit confirmation.
The purpose is to let the operator's assistant find and set his own deadlines, meetings and reminders. Calendar data is processed in memory to answer the request and is returned only to the operator's own session; the gateway does not store it, and logs contain no event titles, descriptions, times or calendar names. Only the operator sees it. The gateway never changes who can see a calendar. Calendar access is revoked like the other access (see Retention and revocation).
The gateway does not send email. Sending is blocked by policy and could happen only through a separate, explicit confirmation step by the operator, which is not enabled.
How data is used and where it goes
- Data is retrieved only when the operator's AI assistant (Claude, by Anthropic) makes a request in the operator's own session, and the result is returned to that session. This is the only transfer of the data, and it happens at the operator's direction.
- Email, file and calendar content is processed in memory to answer the request and is not stored by the gateway.
- Data is not sold, not used for advertising, not used to train AI models by the gateway, and not shared with any other third party.
- No person other than the operator reads the data, except where required by law.
Credentials and storage
- OAuth refresh tokens and other access credentials are stored in Google Cloud Secret Manager (region europe-north1), readable only by the gateway's own service identity. They are never shown in any output.
- Operational logs contain only technical metadata (operation name, the internal identity name of the mailbox such as “kubot”, outcome, timing), never message or file content, search terms, file names, email addresses or credentials.
Retention and revocation
Credentials are kept until the operator removes them or revokes access. Access can be revoked at any time in the Google Account under Security → Third-party apps with account access; the gateway can then no longer refresh its access, and any short-lived access token it still holds expires within one hour.
Google API Services User Data Policy
Access Gateway's use and transfer of information received from Google APIs adheres to the Google API Services User Data Policy, including the Limited Use requirements.
Changes and contact
Changes to this policy are published on this page. Questions: maksim@kubot.ee.
Last updated 2026-11-22. Contact: maksim@kubot.ee