CLI command
tinbox import imap
Import one IMAP mailbox with a local client (password or app password; OAuth/XOAUTH2 is not supported)
Usage
sh
tinbox import imap --inbox <inbox> --host <host> --user <user> --password <password> --port <port> --mailbox <mailbox> --limit <limit>Flags
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
--inbox | string | yes | — | target inbox id (ibx_…) |
--host | string | yes | — | IMAP host, e.g. imap.gmail.com |
--user | string | yes | — | IMAP username / email |
--password | string | yes | — | IMAP password / app password (or IMAP_PASSWORD) |
--port | string | yes | — | IMAP port (default 993, TLS) |
--mailbox | string | yes | — | mailbox/folder to import (default INBOX) |
--limit | string | yes | — | import at most N messages |