common_reports.contracts.emails.references
Immutable identities for mailboxes and records inside them.
Classes
AttachmentRef
An exact provider attachment nested under its parent message.
__init__
def __init__(message: MessageRef, provider_id: str, filename: str = '', mime_type: str = 'application/octet-stream', size: int | None = None) -> NoneFields and properties declared here; inherited members belong to the bases above.
filename
filename: str = ''message
message: MessageRefmime_type
mime_type: str = 'application/octet-stream'provider_id
provider_id: strsize
size: int | None = NoneMailboxRef
The exact provider mailbox against which an operation runs.
__init__
def __init__(provider: str, address: str, user_id: str = 'me') -> NoneFields and properties declared here; inherited members belong to the bases above.
address
address: strprovider
provider: struser_id
user_id: str = 'me'MessageRef
An exact provider message, distinct from its RFC Message-ID header.
__init__
def __init__(mailbox: MailboxRef, provider_id: str, thread_id: str | None = None, rfc_message_id: str | None = None) -> NoneFields and properties declared here; inherited members belong to the bases above.
mailbox
mailbox: MailboxRefprovider_id
provider_id: strrfc_message_id
rfc_message_id: str | None = Nonethread
Read-only property.
thread: ThreadRef | NoneProject the known thread identity, when the provider supplied one.
thread_id
thread_id: str | None = NoneThreadRef
An exact provider thread in a mailbox.
__init__
def __init__(mailbox: MailboxRef, provider_id: str) -> NoneFields and properties declared here; inherited members belong to the bases above.
mailbox
mailbox: MailboxRefprovider_id
provider_id: str