The message object available only in email_message_notification.liquid , it contains following attributes:


Object Fields

FieldData TypeDescription
message.contentStringReturns the content of a message
message.imageObjectReturns an image object of attached image
message.senderObjectReturns a hash of sender object with attributes name, email and image_url.
message.recipientObjectReturns a hash of recipient object with attributes name, email and image_url.
message.created_atDateReturns a Date of created time, you might format the time with filter

Code Example

Message sent at {{ message.created_at | date: "%b %d, %Y" }}