Skip to content

Email ingestion

Every workspace has an email inbox. A scanner, a mail rule or another system that sends an email with attachments to one of its addresses creates documents in the workspace, with no API key and no code. This page describes what the receiving mail server does. Setting up the addresses, the allowed senders and the held emails is in the help: Inbox.

An address has three parts before the domain:

<workspace>.<key>[+<short name>]@in.acriva.de
muster.k7f3qm@in.acriva.de
muster.k7f3qm+invoices@in.acriva.de
muster.k7f3qm.invoices@in.acriva.de
  • The workspace is the workspace address, as it stands after /t/ in the app’s links. After a change, the earlier one keeps working.
  • The key is twelve characters from a to z without i, l and o, and 2 to 9 (six in an inbox made before November 2026, until its key is regenerated). It keeps strangers from guessing an address. Whoever manages the inbox can regenerate it; the previous key stops working at once.
  • The short name (optional, 1 to 40 characters of a–z, 0–9 and -) chooses an address with its own target: the document type, the file (Akte), the tags and, if set, the confidential flag. Without it, the document type comes from the AI recognition. For devices that refuse a +, a dot works the same.

Letter case doesn’t matter. Find the addresses under Settings › Inbox and use them as that page shows them: in.acriva.de is the domain of the examples here, and the page names the one of your installation. An email to any other domain is refused like an unknown address.

Acriva files each attachment of an allowed type as a document of its own, in the order of the email, at most 50 per email:

  • PDF
  • images: PNG, JPEG, TIFF, GIF, WebP
  • XML (e-invoices such as XRechnung; a ZUGFeRD invoice is a PDF)
  • Office formats: Word, Excel, PowerPoint and OpenDocument

A part sent as application/octet-stream counts by the extension of its file name. Text parts, archives, signatures (.p7s), an email attached to the email and Outlook’s winmail.dat make no document; the text of the email never does. An image under 50 KB that the email shows in its text, such as a logo in a signature, is skipped; a larger image always becomes a document. An email with nothing to file shows Without attachment in the inbox’s log.

File names are the sender’s, without a path or characters a file system refuses, at most 255 characters with the extension, and they end with the extension of the type the part is filed under: Rechnung.pdf.exe sent as a PDF is stored as Rechnung.pdf.exe.pdf. A part without a name is named after the subject.

Each document records where it came from: the sender, the subject, the Message-ID and the day it arrived. The same email delivered twice (the same Message-ID and the same content) is filed once. Documents from email count against the plan’s monthly documents; beyond the allowance they count as overage and are never refused.

Acriva checks SPF, DKIM and DMARC and rates every email for spam. It never refuses an email for these checks. It holds an email when DMARC fails, when SPF fails and no DKIM signature is valid, or when the spam score reaches its limit: nothing is filed until someone who manages the inbox releases it, and an email nobody releases is discarded after 30 days. A missing SPF record is not a failure; an email without a DKIM signature is held when its SPF fails.

Forwarding from your own mail server usually breaks SPF for the original sender, while the DKIM signature survives; such an email is not held. A mail rule that rewrites the email may break DKIM too.

If the inbox allows only listed senders, Acriva compares the envelope sender (MAIL FROM) with the list and refuses others. An accepted email is processed only when DMARC passes and the address of its From is on the list; otherwise it is held. A domain on the list includes its subdomains. A sender therefore needs a DMARC record and an SPF or DKIM check that passes in alignment with it.

The mail server answers with standard SMTP codes, so your mail server or scanner reports a problem to you:

Situation Answer What happens
The address doesn’t exist (a wrong workspace, key or short name) 550 5.1.1 Bounced
The sender isn’t allowed, or the workspace is read-only after its trial 550 5.7.1 Bounced, and logged in the inbox
The email is larger than 50 MB, headers included 552 5.3.4 Bounced
The inbox received 300 emails in the last hour, or the workspace is suspended 452 4.2.1 Your server retries later
The workspace’s storage is full 452 4.2.2 Your server retries later
A temporary failure after the email was sent 451 4.3.0 Your server retries later

An unknown address gets 550 5.1.1 whatever part of it is wrong, so the answer never tells whether a workspace exists; the third unknown address on one connection gets 421 4.7.0, and the server closes the connection. The server accepts at most 20 recipients per email, offers STARTTLS (TLS 1.2 and 1.3), and limits connections per sending server: at most 3 at once and 30 a minute. It offers no authentication and relays nothing.

Acriva doesn’t connect to a mailbox (Microsoft 365, IMAP) to fetch emails: send or forward them to the inbox address. The attachments of an attached email and of winmail.dat are not filed.