GoogleApi.Gmail.V1.Model.Message (google_api_gmail v0.17.0)
View SourceAn email message.
Attributes
-
historyId(type:String.t, default:nil) - The ID of the last history record that modified this message. -
id(type:String.t, default:nil) - The immutable ID of the message. -
internalDate(type:String.t, default:nil) - The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than theDateheader. However, for API-migrated mail, it can be configured by client to be based on theDateheader. -
labelIds(type:list(String.t), default:nil) - List of IDs of labels applied to this message. -
payload(type:GoogleApi.Gmail.V1.Model.MessagePart.t, default:nil) - The parsed email structure in the message parts. -
raw(type:String.t, default:nil) - The entire email message in an RFC 2822 formatted and base64url encoded string. Returned inmessages.getanddrafts.getresponses when theformat=RAWparameter is supplied. -
sizeEstimate(type:integer(), default:nil) - Estimated size in bytes of the message. -
snippet(type:String.t, default:nil) - A short part of the message text. -
threadId(type:String.t, default:nil) - The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met: 1. The requestedthreadIdmust be specified on theMessageorDraft.Messageyou supply with your request. 2. TheReferencesandIn-Reply-Toheaders must be set in compliance with the RFC 2822 standard. 3. TheSubjectheaders must match.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Gmail.V1.Model.Message{ historyId: String.t() | nil, id: String.t() | nil, internalDate: String.t() | nil, labelIds: [String.t()] | nil, payload: GoogleApi.Gmail.V1.Model.MessagePart.t() | nil, raw: String.t() | nil, sizeEstimate: integer() | nil, snippet: String.t() | nil, threadId: String.t() | nil }