Your data
What the server stores per Claude user (the “owner”): linked mailboxes (alias, address, encrypted
refresh token, scopes, timestamps), address labels, default From, send policy, pending link and
confirmation nonces, send counts for the daily cap, /send browser sessions, and audit rows (tool,
alias, short detail, never bodies or email addresses). Message content is never stored. With the
calendar module also: each mailbox’s calendar flag and policy, counts of calendar
writes with external attendees (for the daily cap), and pending calendar confirmations. A pending
confirmation holds the proposed change (title, time, attendees, location, description) encrypted with
your token key, and only until the link is used or expires (10 minutes); like every confirmation
link’s data, it is then erased, and the empty row is deleted a day later.
export_my_datareturns all of it except tokens.delete_my_data(confirm="DELETE")erases every row above for the caller (including pending calendar confirmations and calendar write counts) in one transaction, clears their in-memory caches, then revokes each mailbox’s token at Google (best effort; the result is reported per alias, and a failed one can be removed at https://myaccount.google.com/permissions). Audit rows are deleted by default; setAUDIT_ON_DELETE=pseudonymizeto keep them instead, with the owner replaced by a keyed hash, the alias blanked and any email address in the detail replaced by<email>(details are written without addresses in the first place). Other users’ data is untouched.- The operator can do the same for a user from the host with
surfski admin purge-owner --owner <address> --yes(see Administration). - Not covered: Claude’s MCP session tokens for this server (in the encrypted OAuth store under
DATA_DIR/oauth) expire on their own; remove the connector in Claude to end them at once. Backups you made earlier still contain the old data. - On the sending pages, Sign out ends the browser session; sessions of users removed from
ALLOWED_USERS(or whose domain leavesALLOWED_DOMAINS) stop working at once and are deleted at startup.
Synced from rayhu/surfski/README.md@0165816. The repository is the source of truth.