Security
Emily Politics: Sinatra AI Ltd
Last updated: 23 October 2026
Emily is used by public affairs professionals whose client work is confidential. This page sets out, plainly, how the service is built and run. It only makes claims we can stand behind: each one is grounded in our infrastructure configuration, our codebase, or the published terms of a named provider. It also says what we do not yet claim.
Where your data lives
- Customer data is stored in a PostgreSQL database hosted by Supabase in AWS eu-west-2 (London). It does not leave the UK/EU region at rest.
- The application layer runs on Vercel. Traffic is encrypted in transit with TLS, and data is encrypted at rest by our infrastructure providers (Supabase on AWS).
- The full list of third parties that process data on our behalf, what each one sees, and where it runs is public on our sub-processors page.
Access control in the database itself
- Row Level Security is enabled on our database tables, so cross-user access rules are enforced by PostgreSQL rather than only by application code. Internal tables (billing contracts, sales leads, audit logs) are locked further: they carry no access policies at all and are reachable only by our server-side service role.
- Privileged database functions that can write billing data are executable by the service role only. We learned the hard way that a permissions migration can read correctly and still be wrong on the live database, so we verify these grants against the live database catalog with a preflight check, and a test in our continuous integration suite keeps the posture pinned.
- Administrative actions on customer accounts go through server-side admin verification and are recorded in an audit log.
Client separation
Within one seat, client patches are isolated in application code at every prompt-assembly surface, pinned by tests/agent/tool-client-isolation.test.ts in required CI. Cross-user access is blocked by Postgres Row Level Security. One client-ownership policy already exists on client_stakeholder_meta. Postgres policies that key rows on the active client are scheduled after launch (NULL-safe: never-switched seats keep their default client). Intentionally shared across clients on the same seat: follow-up reminder email, user-global knowledge-base rows, and NULL briefing pins. Stakeholder tracking is per client from the wave-2 migration (C-16).
Application safeguards
- Structured data embedded in public pages is serialised through a dedicated escaping helper, and a continuous integration test fails the build if any page embeds structured data without it. This closes the script-injection route through user-visible shared content.
- Public endpoints carry per-IP rate limits. The unauthenticated AI paths additionally sit under a single global daily request and spend ceiling that fails closed: if the shared counter cannot be reached, the free paths stop serving rather than spend without counting.
- Payments are processed by Stripe on Stripe-hosted checkout pages. Full card details never touch our servers, and incoming billing webhooks are cryptographically signature-verified before they are acted on.
AI models and your data
We do not use your data to train AI models, and we state the basis for that rather than asserting it bare:
- Emily runs on Google's Gemini models served through Vertex AI on Google Cloud. Under the Google Cloud terms that govern Vertex AI, Google does not use customer prompts or outputs submitted to Vertex AI to train its foundation models.
- Our retrieval sub-processors (embeddings and reranking) are listed, with exactly what each receives, on the sub-processors page.
Channels
Email is the default delivery path for briefs and alerts. WhatsApp runs on Meta's WhatsApp Business Platform; Meta Platforms Ireland is named on our sub-processors page. WhatsApp is optional. You link it yourself in Settings and can unlink at any time; the web app and email carry everything, so a workplace that restricts WhatsApp loses nothing.
What we claim
- Customer data at rest in Supabase PostgreSQL in AWS eu-west-2 (London)
- Row Level Security per user on customer tables (cross-user isolation in Postgres)
- Privileged write functions checked with a definer-grant preflight and pinned in CI
- Customer prompts and outputs are not used to train foundation models under the Vertex AI commercial terms we use
- Annual dependency audit via Dependabot and npm audit
What we do not claim
We do not yet hold SOC 2, ISO 27001 or Cyber Essentials certification, and we will not badge this site as if we did. Most vendors in this market publish nothing about security at all; we would rather publish an honest page than an impressive one. When a certificate arrives, it will appear here with a date (and nowhere before that).
Reporting a vulnerability
If you believe you have found a security issue in Emily, email support@emilypolitics.com with the details. That inbox is monitored by the founding team. Please do not test against other customers' data; we will respond promptly and credit good-faith reports if you would like us to.
Related: data processing summary, sub-processors, privacy policy.