Cloud Mail 2020 Python Edition

Questions / Feedback?

on_message_info Event

Fired with information for the message(s) retrieved by the server.

Syntax

class GMailMessageInfoEventParams(object):
  @property
  def message_id() -> str: ...
  @property
  def subject() -> str: ...
  @property
  def message_date() -> str: ...
  @property
  def from_() -> str: ...
  @property
  def flags() -> str: ...
  @property
  def size() -> int: ...
  @property
  def g_mail_message_id() -> str: ...
  @property
  def g_mail_message_thread_id() -> str: ...
  @property
  def g_mail_message_labels() -> str: ...

# In class GMail:
@property
def on_message_info() -> Callable[[GMailMessageInfoEventParams], None]: ...
@on_message_info.setter
def on_message_info(event_hook: Callable[[GMailMessageInfoEventParams], None]) -> None: ...

Remarks

The on_message_info event is fired when messages are searched, listed, or message information is received.

Id is the Id of the message.

Subject is the message subject.

MessageDate is the date of the message.

From is the email address of the sender.

Flags is a list of flags associated with this message.

Size is the size of the message.

GMailMessageId is the Google assigned Id of the message.

GMailMessageThreadId is the Google assigned thread Id of the message. It may be used to find other messages in the same conversation.

GMailMessageLabels is a space separated list of labels associated with the message.

More information may be received from the respective properties, such as: message_content_type, message_content_encoding, message_recipients, message_delivery_time, message_flags, message_headers, message_in_reply_to, message_net_id, message_reply_to, message_sender, message_size, message_subject, message_text, etc.

 
 
Copyright (c) 2021 /n software inc. - All rights reserved.
Cloud Mail 2020 Python Edition - Version 20.0 [Build 7718]