Skip to main content

Configure IMAP input

SettingDefaultEffect
Host / portEmpty / 0IMAP endpoint. The class does not assign a conventional port; configure the reviewed server/TLS port explicitly.
MailboxEmptyMailbox/folder to poll.
After receivingDeleteMark read, move, delete or do nothing after download. Select only with a duplicate/recovery design.
Move-to mailboxEmptyRequired when post-receive action is move.
Use SASLClearedEnables the SASL authentication path.
From / To filterEmpty / emptySender and recipient filters. Treat headers as untrusted and test exact matching.

Shared user/password/OAuth/TLS/timeouts apply, subject to the concrete client. Test mailbox rights, unread/seen flags, attachment selection, duplicate messages, move/delete failure, malformed/large messages, TLS and service restarts. Email Message-ID is useful correlation but not a universal uniqueness guarantee. Preserve the original message until downstream processing and replay behaviour are proved. See shared security.