Privacy policy
How LANAI accesses, uses, stores and protects its owner's data, including data from Google.
Last updated 1 October 2026.
1. Who uses LANAI
LANAI is a private assistant with a single user, its owner. Every request to LANAI's servers must carry a Google sign-in token that belongs to the owner's Google account; requests from any other account are refused. LANAI is not offered to the public.
2. Google data LANAI accesses
LANAI requests the following Google permissions (OAuth scopes). Each is used only for the purpose shown.
| Permission | Used by | Purpose |
|---|---|---|
gmail.readonly | Phone app; LANAI Brain | Read and search the owner's email when the owner asks (for example "check my latest email"). If the owner turns on background Gmail reading, LANAI Brain also reads new inbox mail as it arrives (section 5). |
gmail.compose | LANAI Brain | Create email drafts in the owner's mailbox. Saving a draft to Gmail requires the owner's approval. |
gmail.send | Phone app | Send an email. The full message is shown to the owner, and it is sent only after the owner confirms it. |
calendar.readonly | Phone app; LANAI Brain | Read the owner's calendar to answer questions and find free time. |
calendar.events | Phone app; LANAI Brain | Create or change an event after the owner confirms it on the phone. |
contacts.readonly | Phone app (optional) | Look up a person's email address or phone number when the owner asks. |
openid, email | Phone app; LANAI Brain | Confirm that the signed-in account is the owner's account. |
The owner can grant or withhold each permission on Google's consent screen, and can disconnect Google in the app at any time.
3. How the data is used
- Only to provide features the owner uses: answering the owner's questions, reading and searching mail and calendar on request, preparing drafts and bookings, looking up contacts, keeping and searching the owner's files, and, only if the owner turns it on, reading new inbox mail in the background so LANAI can prepare things for the owner.
- Actions that affect other people or external systems (sending an email, saving a Gmail draft from the server, creating, changing or cancelling a calendar event) require the owner's explicit confirmation of the exact content every time. Deleting or forwarding email and making payments are not supported.
- Google data is not sold, not used for advertising, not used to build profiles for anyone else, and not used to train AI models.
- No person other than the owner reads the owner's data. The owner, as operator of the system, can access its technical records.
4. AI processing
LANAI's voice and chat features use the OpenAI API. When the owner speaks or types to LANAI, the audio and text of the request are sent to OpenAI to produce the answer. When a request needs the owner's email, calendar or contacts, the relevant parts of the results (for example a list of recent email subjects and senders, or the text of an email the owner asked to read) are sent to OpenAI to produce the answer. When the owner asks LANAI about a photo, PDF, text file or web page in the conversation, that item's content is sent to OpenAI to answer the question. Text requests are made with response storage turned off (store: false). OpenAI's own API data-usage and retention policies apply to this processing. Google data is not sent to OpenAI unless the owner's request needs it.
Document Studio. When the owner asks LANAI to create or edit a document (Word, Excel, PowerPoint or PDF), LANAI Brain sends the owner's request to OpenAI, together with the text of any files the owner chose as sources and, when editing, the current content of the document, so the model can write the document's content. This uses a low-cost model with response storage turned off (store: false). The model can only return document content: it cannot send, share, delete or change anything, and instructions written inside a file are never followed. Filling a template with values the owner gives directly, and creating a document from a structure the owner provides, use no model.
Email classification (off). LANAI Brain can sort kept inbox mail by importance and by what it needs from the owner. Fixed rules decide first; only when they are not sure is a low-cost model asked, and it is sent the subject, the sender's name and domain, attachment names and at most the first 1,500 characters of that email, with response storage turned off. The result is only a label with its evidence: nothing is replied to, sent, scheduled or notified. This is switched off, and at the time of this update it has never run on the owner's mail; it runs only after the owner approves it and while background Gmail reading is on.
File text extraction and LANAI Files search use no AI model: text is extracted by fixed parsers. Every model call is recorded with its purpose, model, token counts and cost (never its content), and is limited by a daily budget.
5. Where data is stored and for how long
On the owner's phone
Conversations, notes, memories and the names of files the owner asks about in the conversation are kept in the app's private storage on the device. A local error log (codes and code locations only, with text, addresses and file names removed) is also kept on the device; it is never uploaded, and the owner can copy or delete it in Settings → Diagnostics. Google sign-in on the phone is handled by Google Play services; the app does not store Google passwords or refresh tokens.
LANAI voice service (Google Cloud, region me-central1)
Keeps the owner's assistant profile (names and language), the most recent 40 conversation turns and up to 128 saved memories in Cloud Firestore, so conversations can continue between sessions.
LANAI Brain (Google Cloud, region me-central1)
When the owner links it, LANAI Brain receives a Google refresh token for the permissions listed as "LANAI Brain" above. The token is encrypted with Google Cloud Key Management Service before storage, bound to the owner's account, and stored in a dedicated Firestore database. Only the Brain's own service identity can decrypt it. It is never sent back to the phone, never given to an AI model and never written to logs. Unlinking deletes the encrypted copy.
The Brain does not read calendar content. It reads email only through background Gmail reading, described below, and only after the owner turns it on.
The Brain also stores records of actions LANAI has prepared for the owner and the owner's decisions on them (identifiers, status and times).
LANAI Files (LANAI Brain)
Files the owner adds in the app's LANAI Files screen (PDF, Word, Excel, PowerPoint, text, CSV and images, up to 20 MB each) are uploaded to LANAI Brain. The original file is kept in a private Google Cloud Storage bucket in region me-central1, in a space reserved for the owner; public access to the bucket is blocked. The Brain extracts the file's text with fixed parsers and stores it in parts, with the page, sheet, slide or line it came from, so the owner can search it later. File type is checked from the content, and documents containing macros are refused. Text inside a file is treated as data only and can never instruct LANAI to act.
Files are kept until the owner deletes them. Deleting a file in the app removes the original, every stored version and all text extracted from it.
Documents LANAI creates (Document Studio, LANAI Brain)
A document LANAI creates or edits is stored as a LANAI File in the same private bucket, with the structure it was built from, a record of which files it came from, and a check that it was stored and can be opened. Editing a document LANAI made adds a new version and keeps the earlier ones; editing one of the owner's own files creates a new file and never changes the original. They are kept, and deleted, like any other LANAI File. Documents are only downloaded or shared from the phone when the owner chooses to.
Records of model use (purpose, model, token counts and cost; no content) are kept by LANAI Brain so spending stays visible and within its daily limits.
Background Gmail reading (LANAI Brain, off unless the owner starts it)
This feature is off by default. It runs only after the owner starts it in the app (Settings → Gmail background reading) and while a separate switch on LANAI Brain is also on. At the time of this update it has not been started.
When it is on, Gmail notifies LANAI Brain through Google Cloud Pub/Sub that new mail has arrived in the owner's inbox, and the Brain reads the new messages with gmail.readonly. It starts from new mail; older mail is not copied in, except that if Gmail loses track of its position the Brain re-reads at most the last two days of the inbox (up to 25 messages). Each message is sorted by fixed rules:
- For mail that is kept, the Brain stores the subject, the sender's name and address, the recipients' addresses, Gmail's short preview, the first 2,000 characters of the message text, and the names, types and sizes of attachments. Attachment contents are not read.
- For mail that is filtered out, the Brain stores only the sender's address, the time, Gmail labels and technical identifiers; no subject or text.
Every stored record is deleted automatically about 30 days after it is received. Background reading does not send, reply to, forward, label or delete any email, and no email text can instruct LANAI to act. The owner can stop it at any time in the app; stopping ends Gmail's notifications to LANAI Brain, and records already stored are deleted within the same 30 days, or sooner on request.
Logs
Server logs are technical and limited to codes, counts and timings. They do not contain email or calendar content, message text, or tokens.
6. Security
- All traffic between the app, LANAI's services and Google uses TLS.
- Each service runs under its own Google Cloud service identity with only the permissions it needs.
- Google refresh tokens held by LANAI Brain are encrypted with Cloud KMS; the client secret is kept in Google Secret Manager.
- Content from emails, calendar entries, files and web pages is treated as data only; it can never authorize an action.
7. Sharing
LANAI does not share, sell or transfer the owner's data to anyone, except to the service providers that run it on the owner's behalf: Google (Google Cloud and Google APIs) and OpenAI (AI processing, as described above), and only as needed to provide the features the owner uses.
8. The owner's controls
- Disconnect Google, or unlink LANAI Brain, from the app's Settings → Connected services.
- Start or stop background Gmail reading, and see its status, in Settings → Gmail background reading.
- Delete any file kept in LANAI Files from Settings → LANAI Files.
- Withdraw LANAI's access at any time at myaccount.google.com/permissions.
- Delete data kept on the phone by clearing the app's data or uninstalling it; data in LANAI's cloud services can be deleted on request.
9. Google API Services User Data Policy
LANAI's use and transfer of information received from Google APIs adheres to the Google API Services User Data Policy, including the Limited Use requirements.
10. Changes and contact
This policy is updated whenever LANAI's handling of data changes, with a new date at the top. Questions: lanai@etmamai.com.