Export destination
The Export destination tab, under Settings › Mail log, keeps a copy of the brand’s mail log in a bucket you own, on AWS S3 or another S3-compatible store. Owners and admins of the brand can set it up, on every plan. A brand has one destination, and nothing is copied out of Inboxen until it is saved and verified.
Set up a destination
Section titled “Set up a destination”- Open Settings › Mail log and choose Export destination.
- Enter the Bucket, the Region (such as
eu-central-1) and the Endpoint: the https address of your storage service, such ashttps://s3.eu-central-1.amazonaws.com. It can’t be a private or internal address. - Under Credential, choose An IAM role or An access key, as described below.
- Press Save destination.
- Press Verify. Inboxen writes a small test file under
desk-probe/, reads it back, compares it and removes it. The badge changes from Not verified to Verified. If a step fails, the screen shows your storage provider’s own error: fix the settings, save, and verify again.
Either credential needs permission to write and read objects (s3:PutObject and s3:GetObject) under mail-log/ and desk-probe/. With s3:DeleteObject as well, Inboxen removes its test file.
Give access with an IAM role
Section titled “Give access with an IAM role”The screen recommends this option: Inboxen uses a role in your AWS account, so no permanent key changes hands.
-
Enter the role’s ARN under Role ARN and save.
-
Inboxen generates an external ID and shows it once, under “External ID: copy it now”, with the trust policy to paste into the role. The policy has this shape:
{"Version": "2012-10-17","Statement": [{"Effect": "Allow","Principal": { "AWS": "<Inboxen's AWS account>" },"Action": "sts:AssumeRole","Condition": { "StringEquals": { "sts:ExternalId": "<your external ID>" } }}]} -
Update the role’s trust policy, press I have saved it, then press Verify.
The external ID means that nobody else who learns your role’s ARN can have Inboxen use it.
Give access with an access key
Section titled “Give access with an access key”For stores without roles, choose An access key and enter the Access key ID and Secret access key. Inboxen stores both encrypted and never shows them again.
Schedule shipping
Section titled “Schedule shipping”Under Scheduled shipping, switch on Ship the mail log to this bucket and choose How often: every hour, every 6 hours or once a day. Shipping waits until the destination is verified.
Each run sends the entries added since the last run as one NDJSON file, one entry per line; a run with nothing new writes no file. The first run sends the whole log. Files are named after the brand’s id, the day in UTC, and the first and last entry they hold:
mail-log/<brand id>/2026-10-12/000000001043-000000001057.ndjsonEach line carries the entry’s fields, including seq, prev_hash and row_hash, so you can check the chain without Inboxen: seq has no gaps, and each line’s prev_hash is the row_hash of the line before. A field an erasure removed is null, and redactions says what went. In the file, tenant_id is the brand and mailbox_id the inbox. One line, with ids and hashes shortened:
{"schema":"mail_log/v1","id":"6f1e…","tenant_id":"0b6e…","seq":1043,"direction":"inbound","mailbox_id":"8d3c…","conversation_id":"3a2b…","message_id":"<a1b2c3@mail.example.com>","envelope_from":"anna@example.com","envelope_to":"acme@in.inboxen.net","hdr_from":"anna@example.com","hdr_to":["support@example.com"],"hdr_cc":[],"subject":"Where is order 4417?","occurred_at":"2026-10-12T08:31:00.000000Z","size_bytes":18342,"transport":"forwarded","provider_ref":"…","disposition":"accepted","raw_mime_key":"tenant/0b6e…/2026/c41a….eml","content_sha256":"9f2c…","prev_hash":"41d7…","row_hash":"c08e…","created_at":"2026-10-12T08:31:02.415873Z","redactions":[],"redacted_at":null}Files in your bucket are your copy. A later customer erasure in Inboxen doesn’t change them, so if an erasure request covers them, delete that data in the bucket yourself.
When a run fails
Section titled “When a run fails”The badge reads Failing, and the card shows your storage provider’s error next to when the last good run shipped. Inboxen tries again within the hour, whatever the schedule, and the next good run starts where the last good one stopped, so no entry is skipped. If the error repeats, check the destination and press Verify again.
Saving a change to the bucket, region, endpoint or credential clears the verification, and shipping pauses until you verify again. A new bucket receives entries from the next run on, not the files sent before.
Remove the destination
Section titled “Remove the destination”Press Remove this destination and confirm. Inboxen forgets the bucket and its credentials and stops shipping. Nothing already in the bucket is touched.