Private by default
workers_devfalse
fetch handlernone
read key1 bucket, read only
Nobody can call the Worker, and a leaked key can only read mail.
An email address on your domain that saves every email to R2. Your scripts read it with a key that can’t do anything else.
Nobody can call the Worker, and a leaked key can only read mail.
Allow listed senders and require DMARC. Everything else bounces.
One .eml per email. Open it with the reader, any S3 tool, or any email app.
python3 reader/mailbox.py export --hours 24 -o mail.json{
"count": 1,
"messages": [{
"from": "Dev Weekly <hi@devweekly.example>",
"subject": "Issue 212: queues, caches, and you",
"dmarc": "pass",
"links": [{ "url": "https://…", "text": "Read online" }],
"text": "This week: three ways to …"
}]
}Clone, run one script, route an address, and create a read-only key.