Skip to content

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

NameTypeRequiredDefaultDescription
--inboxstringyes—target inbox id (ibx_…)
--hoststringyes—IMAP host, e.g. imap.gmail.com
--userstringyes—IMAP username / email
--passwordstringyes—IMAP password / app password (or IMAP_PASSWORD)
--portstringyes—IMAP port (default 993, TLS)
--mailboxstringyes—mailbox/folder to import (default INBOX)
--limitstringyes—import at most N messages