From 0c4b1a4a0ec2441cf8cc86f3aa05cf298ae1cfa3 Mon Sep 17 00:00:00 2001 From: Ben Lenarts Date: Sun, 5 Apr 2026 08:06:35 +0200 Subject: [PATCH] docs(email): document attachment extraction options in README --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index e42a6efe9..acec0642b 100644 --- a/README.md +++ b/README.md @@ -721,6 +721,9 @@ Give nanobot its own email account. It polls **IMAP** for incoming mail and repl > - `allowFrom`: Add your email address. Use `["*"]` to accept emails from anyone. > - `smtpUseTls` and `smtpUseSsl` default to `true` / `false` respectively, which is correct for Gmail (port 587 + STARTTLS). No need to set them explicitly. > - Set `"autoReplyEnabled": false` if you only want to read/analyze emails without sending automatic replies. +> - `allowedAttachmentTypes`: Save inbound attachments matching these MIME types — `["*"]` for all, e.g. `["application/pdf", "image/*"]` (default `[]` = disabled). +> - `maxAttachmentSize`: Max size per attachment in bytes (default `2000000` / 2MB). +> - `maxAttachmentsPerEmail`: Max attachments to save per email (default `5`). ```json {