pub struct EmailMessageResponse {Show 19 fields
pub id: String,
pub campaign_id: Option<String>,
pub transactional_id: Option<String>,
pub subject: String,
pub preview_text: String,
pub from_name: String,
pub from_email: String,
pub reply_to_email: String,
pub cc_email: Option<String>,
pub bcc_email: Option<String>,
pub language_code: Option<String>,
pub email_format: EmailFormat,
pub lmx: String,
pub content_revision_id: Option<String>,
pub updated_at: DateTime<Utc>,
pub contact_properties_fallbacks: Option<IndexMap<String, String>>,
pub event_properties_fallbacks: Option<IndexMap<String, String>>,
pub data_variables_fallbacks: Option<IndexMap<String, String>>,
pub warnings: Option<Vec<EmailMessageResponseWarning>>,
}Fields§
§id: StringThe ID of the email message.
campaign_id: Option<String>The campaign this email message belongs to. Present only when the message belongs to a campaign (mutually exclusive with transactionalId).
transactional_id: Option<String>The transactional email this email message belongs to. Present only when the message belongs to a transactional email (mutually exclusive with campaignId).
subject: StringThe email subject.
preview_text: StringThe email preview text.
from_name: StringThe email sender name.
from_email: StringThe email sender email address, without the team’s sending domain.
reply_to_email: StringThe email reply-to address.
cc_email: Option<String>The email CC address. Only present when set.
bcc_email: Option<String>The email BCC address. Only present when set.
language_code: Option<String>ISO 639-1 language code for the email, e.g. en or fr. Only present when set.
email_format: EmailFormatThe rendering format of the email.
lmx: StringThe email body serialized as LMX.
content_revision_id: Option<String>The current content revision. Pass this as expectedRevisionId on your next update.
updated_at: DateTime<Utc>§contact_properties_fallbacks: Option<IndexMap<String, String>>Fallback values for contact properties. Only present when set.
event_properties_fallbacks: Option<IndexMap<String, String>>Fallback values for event properties. Only present when set.
data_variables_fallbacks: Option<IndexMap<String, String>>Fallback values for data variables. Only present when set.
warnings: Option<Vec<EmailMessageResponseWarning>>Non-fatal issues raised while compiling the submitted LMX. Only present on update responses when warnings were produced.