For administrators
← All topics

Where the data is stored

What is stored in the database, what is encrypted and what goes to the model provider.

What draften stores, where it lies and who sees it.

In draften's database

WhatNote
organisations, people, roles, accessmembers' e-mails and names
mailboxes and assistantsaddresses, settings, instructions with all their versions
knowledge sources and attachmentsuploaded documents including their extracted text, attachment files
messagessender, subject, time, how the assistant sorted them and why, hidden texts found
draftsthe draft text, versions after revision, the difference against the sent version, the evaluation
learninglessons and knowledge corrections with "before and after" examples
trial setsaved messages with their text and thread
new-assistant wizardfor each run, the description of the chosen threads (topic, kind, tone, verbatim quotes from your replies — greeting, sign-off, apology — and facts you state in them, such as prices, deadlines and contacts), an anonymised description of how you write, up to ten of your replies with a shortened query (addresses masked) and the texts of the trial: an excerpt of the query, your reply, the draft and its evaluation
recordsmail checks, events, requests, change history

So the database also holds customers' names and mail content. For the draften service the operator runs it; in an installation on your own server it is with you and reachable on the network only inside the installation.

What is encrypted

Secrets are encrypted in the database (AES-256-GCM) with MASTER_KEY, which is not in the database:

A secret is never shown in the interface once stored, and it is not in the change history either. Users' passwords are stored only as a hash (argon2id).

On your own installation, MASTER_KEY can be replaced without an outage; everything stored is then encrypted again with the new key — see Backup and restore.

What is not stored

What goes out

To the language model provider (Anthropic by default) go, during triage and writing, the content of the message and the thread, the instructions, the knowledge sources and data from connected systems. With OpenAI store: false is sent; still, with sensitive data check the provider's retention terms. With a local model on your own server, mail never leaves the server.

draften sends nothing else anywhere; e-mails go out only as invitations and notices through the configured mail sender.

How long the data is kept

The operator sets the data retention (Installation → Installation, the Data retention card): 90 days by default, 30 to 3,650 days, or "Never delete". Once a day, whatever is older is then deleted in every organisation:

What stays:

Draft evaluations go with the drafts, so the overviews offer only periods the data still covers. Shortening the period asks for confirmation, because older data is deleted for good at the next clean-up. The database dumps in the backups/ folder of an installation of your own are not affected.

After the update that brings data retention, the first clean-up runs only 24 hours later: the operator has a day to set the period (or choose "Never delete") before anything is deleted.

Who sees what

Deletion

An organisation is deleted by the operator, and only a suspended one: it goes with everything in it (mailboxes, assistants, messages, drafts, keys, settings, change history). The accounts of people who were only in this organisation are deleted too; anyone who is a member elsewhere as well, or has access to a mailbox in another organisation, keeps their account.

A mailbox with no assistant on it is deleted by an owner or manager of the organisation: it goes with its access list, its mail access, the mailbox's API keys and its integrations. The mail in the mailbox at Microsoft, Google or on the IMAP server stays as it is.

Plain text version