on_mailbox_list Event
Fired for each mailbox received through the ListMailboxes and ListSubscribedMailboxes methods.
Syntax
class GMailMailboxListEventParams(object): @property def mailbox() -> str: ... @property def separator() -> str: ... @property def flags() -> str: ... # In class GMail: @property def on_mailbox_list() -> Callable[[GMailMailboxListEventParams], None]: ... @on_mailbox_list.setter def on_mailbox_list(event_hook: Callable[[GMailMailboxListEventParams], None]) -> None: ...
Remarks
This method is fired for each mailbox received through the list_mailboxes and list_subscribed_mailboxes methods. The Separator parameter contains the character that separates the different parts in the mailbox path hierarchy.