The dashboard has to answer one question without opening a message: what did SeguraDoc do, and why. To answer it we keep a record for each message the watch analysed or acted on: moved, flagged or rebuilt, and any message the model pass read.
Every new message also gets a small record, even when we read nothing else of it, for example because filtering is off and it carries no attachment: its sender address, a fingerprint (a SHA-256 hash) of its Message-ID, the date it carries, the sender's domain and that domain's authentication results. It lets us recognise the message if you move it later, tell you whether a sender has written before, and spot a domain made to look like one you already get mail from.
| Kept, for each message we read | Never kept |
|---|
| Sender address | The message body, snippet or preview |
| Subject line, as plain text, cut at 500 characters | Raw headers |
| When it arrived and when we processed it | Attachment names or attachment bytes |
| Where the original sits in your mailbox, so it can be restored | Text or links from a document, beyond what section 6 lists |
| What was decided, as a fixed reason code, and which of your rules applied | Links found in the message |
| The AI pass's score, its category labels from a fixed list, and the language it found the message written in | Any prose written by the AI model |
| The sender's domain, how widely used it is, the name of the server that received the message, and the authentication results (SPF, DKIM, DMARC) | Anything about a mailbox other than yours |
| A fingerprint (SHA-256 hash) of the Message-ID | The Message-ID itself |
Subjects and sender addresses live in the activity database only. They are never written to application logs, error reports or alerts.
A message we read and left alone is recorded too, with the reason we left it. That is what lets you open an email you did not want and find out what SeguraDoc made of it, and it is why the table above says read rather than filtered: the subject of a message we analysed is kept whether or not we acted on it. A message we never read has no subject to keep, and its row says so — we do not go and fetch one to fill the gap.
Three more records sit beside that history:
- Junk. While filtering is on, we note the sender address, the Message-ID fingerprint and the authentication result of each new message in your Junk folder, whether or not we check it.
- Your sender lists. When you move mail out of or into Junk, unsubscribe, or block a newsletter, we keep the exact sender address or domain, so we can act the same way next time. You can see and remove each one in the mailbox's settings.
- Attachments. For each attachment we keep its type, size, a SHA-256 hash and its page count, and for an invoice the last four characters of each bank account it shows.
Names we have seen before
To catch someone borrowing a colleague's or supplier's name from a new address, we keep, for each mailbox, a note of which display names have written to it from which senders. The note holds no names and no addresses: only keyed fingerprints (HMACs) of the display name, the sender address and its domain, made with a key that belongs to your organization and is itself kept encrypted. From it the AI pass is told one fixed word, such as whether a name has written before from a different sender. It is learned from new mail as it arrives, and only from mail our check did not find dangerous; we do not read your older mail for it unless you ask us to. Deleting the mailbox deletes the note, as does the end of its subscription, after the 90 days described below, and deleting your account deletes the key.
People you have written to
To tell mail you asked for from mail you did not, we look at who you write to. Between checks of your inbox, the connector reads three header fields of new messages in your mailbox's Sent folder: To, Cc and Message-ID. It never reads their subject, body or attachments, or their Bcc line. We keep, for each mailbox, only keyed fingerprints (HMACs) of the addresses you wrote to, of their domains (never of a mail service anyone can open an address on) and of the Message-IDs, made with the same key that belongs to your organization and is itself kept encrypted; no address or Message-ID is stored. They are compared with the sender and the reply headers of the mail you receive, and the AI pass is told a few fixed words: whether you have written to the sender or to their organization, and whether the message answers one you sent. When you connect a mailbox and its subscription is active, we also read the same three fields of the mail you sent in the 12 months before, once, in small batches between checks of your inbox; it stops if you disconnect or pause the mailbox. The connect screen says so before you connect. For a mailbox connected before we started doing this, we read its older sent mail only if you ask us to. The 12 months include any time the mailbox was not paid for. Deleting the mailbox deletes the fingerprints, as does the end of its subscription, after the 90 days described below, and deleting your account deletes the key.
Suppliers' bank accounts
To warn you when an invoice asks you to pay a different bank account, we keep, for each mailbox, a note of which accounts each supplier's invoices have shown. The account numbers are read from the invoice inside our sandbox. The note tells suppliers apart by their tax number, their certificate numbers from the Portuguese tax authority, the program that made the PDF, and the address and domain they send from. It holds none of these, and no account number, as written: only keyed fingerprints (HMACs) of them, made with the same key that belongs to your organization, plus the last four characters of each account, so a warning can say which one it means. It never holds a supplier's name or postal address. It is learned from new invoices as they arrive, and only from mail our checks did not mark as dangerous, including mail the AI pass did not check. The AI pass is never shown an account number, only fixed words such as whether the account is new for that supplier. Deleting the mailbox deletes the note, as does the end of its subscription, after the 90 days described below, and deleting your account deletes the key.
How long, and who deletes it
While a mailbox's subscription runs, its filtering history and the records beside it are kept until you delete them. You can delete a mailbox's whole history yourself at any time, from that mailbox's settings.
A subscription ends when it is cancelled and its paid period is over, when a crypto renewal goes unpaid, or when a free period we granted runs out. A card payment that failed and is still being retried does not end it. From the end, we keep the history for 90 days, in case you come back. Then we delete it, together with the records beside it and the mailbox's notes and fingerprints described above. If you subscribe again before then, nothing is deleted. Your sender lists and rules stay, and so does the connection, until you delete the mailbox. A message we were still working on when the subscription ended keeps its record until you subscribe again or delete the mailbox.
Deleting history also deletes what we kept about each message behind it: the small record, the sender, the subject, our decision, the Junk notes, the attachment records, and the note of where we moved the original, which is the one thing a restore needs. For the newest messages we may keep a bare marker, the message's number in your inbox and that it was already checked, so the same message is never checked or charged twice; it holds nothing about the message and cannot restore it. A message we are still working on when you delete is kept until that work ends, and then shows in your history. Your sender lists, and a sender rule you created from a row, stay, because they are your decisions rather than records of one message. Deleting history never touches the mail itself.
Deleting a mailbox, from its settings, removes everything this section describes for that mailbox, including its notes and fingerprints. You can delete a mailbox once no subscription on it is active, and we email you a code to confirm it is you.
What happens to the messages
SeguraDoc relocates mail; it never destroys it. Nothing is trashed and no folder is emptied. A message we move goes to your provider's own Junk or Spam folder, or to a folder we create called SeguraDoc/Junk when your provider offers none, and it stays there under your provider's own retention rules for that folder, which we do not control.
Some mail servers — iCloud is the one in practice — offer no way to move a message in one step. There we move a message to Junk by copying it to the other folder and then removing it from the one it came from, one message at a time, and never before the server confirms the copy has landed. Ask us and we will switch that off for any mailbox: nothing there is then moved, the message stays where it is, and we only record what we found.
The rebuilt copies are written inside your own mailbox, as a reply to the original message. We do not mail them out. We keep no copy of any message.