Hello,
I develop LabA (https://lab-a.sensoryfire.com), a personal notes and tasks app, Cloud project (PII Removed by Staff). It is a web app with end-to-end encryption: each person’s device holds their key, and our server stores only data encrypted with it.
We plan to verify calendar.events and gmail.send, and would like to offer Gmail reading (gmail.readonly) as well. Before we design it, we want to understand the security assessment rule. Your restricted scope page says an assessment is needed “if you store or transmit restricted scope data on servers”, and for apps that have “the ability to access data from or through a third-party server”.
The design we are considering:
1. The app, running in the person’s browser, calls the Gmail API directly with an access token held on the device. Our server never receives the token or any Gmail data it can read.
2. The device filters the messages and keeps what it finds encrypted with the person’s own key. Our server stores only that ciphertext and cannot read it.
3. To decide which messages need attention, the device sends a message’s sender, subject and snippet to an AI model API (Anthropic or OpenAI), only while the person has mail reading switched on. The provider does not train on it, and the result comes back to the device.
Our questions:
1. With steps 1 and 2 only, does the app need a CASA security assessment, or only restricted scope verification?
2. Does step 3, the device sending sender, subject and snippet to an AI model provider’s API for the person’s own feature, make a security assessment required?
3. If an assessment is required either way: can a client be verified for calendar.events and gmail.send while it still requests gmail.readonly unverified, counting against the 100-user cap? Or must gmail.readonly be on a separate project?
Thank you,
Michael Wechter