Privacy policy
Last updated November 22, 2026
Heimdall is run by Agents for Small Business. It lets an AI agent you choose use your Gmail within rules you set. This page says what Heimdall handles, why, and who else sees it.
What Heimdall stores
- Your Google account email and name, from “Sign in with Google”, to identify your account.
- Your Gmail access: a refresh token with permission to read and send Gmail, encrypted (AES-256-GCM) with a key kept outside the database. Heimdall refuses tokens with broader permissions.
- Your rules: the contacts and topics you set up, and your settings.
- Emails your agent writes: drafts waiting for your approval and a record of what was sent, so you can review them. Kept 90 days after they finish.
- Activity: a log of what your agent asked for and what Heimdall decided, with sender addresses, subjects and search terms (shortened). Message bodies are stored only as a fingerprint (SHA-256 hash and length), never as text. Kept 90 days.
- Topic decisions: for emails checked against a topic, a score from 0 to 1. Not the email itself. Kept 90 days.
- Devices you turn notifications on for, and agent keys (stored only as fingerprints).
Heimdall does not keep copies of your inbox. When your agent reads an email, Heimdall fetches it from Gmail, checks your rules, and passes it on without storing it.
Who else handles your data
- Google, through the Gmail API, to read and send email for you.
- Cloudflare runs Heimdall and its database.
- TypeSafe (the Jev model) receives, for topic checks, an email's sender, subject and the first 4,000 characters of its text, and for automatic sends, the text your agent wants to send, to judge whether it is on topic or risky. Nothing else.
- Your AI agent and its provider (for example Anthropic or Cursor) receive the emails your rules let the agent read. You choose and configure that agent.
- Push services (Google, Apple, Mozilla, Microsoft) relay notifications to your devices. The content is encrypted end to end so they can't read it.
Heimdall does not sell your data, use it for advertising, or use it to train AI models. People at Agents for Small Business don't read your email. The exceptions are when you ask us to (for support), when it's needed for security or abuse investigation, or when the law requires it.
Google user data
Heimdall's use and transfer of information received from Google APIs to any other app will adhere to the Google API Services User Data Policy, including the Limited Use requirements.
Your choices
- Download everything Heimdall stores for you from Settings.
- Disconnect Gmail from Settings, or at your Google account's permissions page.
- Delete your account from Settings. Heimdall cancels its Gmail access with Google and erases your data right away. Database backups roll off within 30 days.
Contact
Questions or requests: heimdall@agentsforsmallbusiness.com