angee.messaging_integrate_imap.connect
IMAP channel connection service.
The optional IMAP addon owns the concrete bridge facts: the imap backend key, the IMAP connection config, and the Basic-auth credential needed to sync. Base messaging owns only the neutral Channel model and list/detail surface.
connect_imap_channel
python
def connect_imap_channel(user: Any,
*,
name: str,
host: str,
username: str,
password: str,
security: str = "ssl",
port: int | None = None,
mailboxes: list[str] | None = None,
own_addresses: list[str] | None = None) -> AnyCreate a connected IMAP channel and a channel-scoped Basic-auth credential.