Skip to content

MailSlurp::Object::WebhookNewEmailPayload

Load the model package

use MailSlurp::Object::WebhookNewEmailPayload;

Properties

Name Type Description Notes
message_id string Idempotent message ID. Store this ID locally or in a database to prevent message duplication.
webhook_id string ID of webhook entity being triggered
event_name string Name of the event type webhook is being triggered for.
webhook_name string Name of the webhook being triggered [optional]
inbox_id string Id of the inbox
domain_id string Id of the domain that received an email [optional]
email_id string ID of the email that was received. Use this ID for fetching the email with the EmailController.
created_at DateTime Date time of event creation
to ARRAY[string] List of To recipient email addresses that the email was addressed to. See recipients object for names.
from string Who the email was sent from. An email address - see fromName for the sender name.
cc ARRAY[string] List of CC recipients email addresses that the email was addressed to. See recipients object for names.
bcc ARRAY[string] List of BCC recipients email addresses that the email was addressed to. See recipients object for names.
subject string The subject line of the email message as specified by SMTP subject header [optional]
attachment_meta_datas ARRAY[AttachmentMetaData] List of attachment meta data objects if attachments present

[Back to Model list] [Back to API list] [Back to ]