Concepts
Concepts used in Gmail BDK Book.
Gmail email
A Gmail Email represents an email message in Gmail.
id
The unique identifier for the email.
text
thread_id
The unique identifier for the thread containing the email.
text
state
The state of the email (draft, unread, or read).
text
sender
The sender of the email.
text
message_id
The unique identifier for the message.
optional[text]
subject
The subject of the email.
optional[text]
plain_body
The plain text body of the email.
optional[text]
html_body
The html body of the email.
optional[text]
sent_date_time
The date and time the email was sent.
optional[datetime]
received_date_time
The date and time the email was received.
optional[datetime]
Gmail attachment reference
A Gmail Attachment Reference represents a reference to a file attached to an email in Gmail.
id
The unique identifier for the attachment.
text
email_id
The unique identifier for the email.
text
file_name
The name of the attachment.
text
file_size
The size of the file in bytes.
number
Gmail attachment
A Gmail Attachment represents a file with name.
file_name
The name of the attachment.
text
content
The content of the attachment.
file
Last updated
Was this helpful?