Skip to content

angee.messaging_integrate_imap.schema

GraphQL schema contributed by the optional IMAP messaging bridge.

MessagingImapMutation

python
@strawberry.type
class MessagingImapMutation()

Console actions for connecting IMAP-backed message channels.

connect_imap_channel

python
@strawberry.mutation(permission_classes=ADMIN_PERMISSION_CLASSES)
def connect_imap_channel(
    info: strawberry.Info,
    name: str,
    host: str,
    username: str,
    password: str,
    security: str = "ssl",
    port: int | None = None,
    mailboxes: list[str] | None = None,
    own_addresses: Annotated[
        list[str] | None,
        strawberry.argument(name="own_addresses"),
    ] = None
) -> ChannelType

Create a Basic-auth credential and active IMAP channel for sync.

Released under the AGPL-3.0 License.