MailSlurpClient::WebhookNewEmailPayload

Properties

NameTypeDescriptionNotes
attachment_meta_datasArrayList of attachment meta data objects if attachments present[optional]
bccArrayList of BCC recipients email was addressed to[optional]
ccArrayList of CC recipients email was addressed to[optional]
created_atDateTimeDate time of event creation[optional]
email_idStringID of the email that was received. Use this ID for fetching the email with the EmailController.[optional]
event_nameStringName of the event type webhook is being triggered for.[optional]
fromStringWho the email was sent from[optional]
inbox_idStringId of the inbox that received an email[optional]
message_idStringIdempotent message ID. Store this ID locally or in a database to prevent message duplication.[optional]
subjectStringThe subject line of the email message[optional]
toArrayList of To recipients that email was addressed to[optional]
webhook_idStringID of webhook entity being triggered[optional]
webhook_nameStringName of the webhook being triggered[optional]

Code Sample

require 'MailSlurpClient'

instance = MailSlurpClient::WebhookNewEmailPayload.new(attachment_meta_datas: null,
                                 bcc: null,
                                 cc: null,
                                 created_at: null,
                                 email_id: null,
                                 event_name: null,
                                 from: null,
                                 inbox_id: null,
                                 message_id: null,
                                 subject: null,
                                 to: null,
                                 webhook_id: null,
                                 webhook_name: null)