New Mails
Webhook spec for Inbox, Send and Junk New emails
Webhook Payload
POST /resouce
User Defined API for accepting webhooks
Headers
Content-Type
application/json
Body
event
inboxNew | outboxNew | junkNew | bounce
The type of event
mailbox
inbox | sent | junk
Mailbox for the email
uid
number
Uid of the email on the server
from
EmailRecipient
Email Sender
to
EmailRecipient[]
A list of recipient for the email
cc
EmailRecipient[]
Recipients in cc to the email
bcc
EmailRecipient[]
Recipients in bcc to the email
replyTo
EmailRecipient[]
Recipeint in the Reply-To header of the mail
date
string
A UTC date string of the email
subject
string
The subject of the email
messageId
string
Message id of the email, as fetched from the ESP
inReplyTo
string
Message id of the email, this mail was sent in a reply to
text
EmailBodyData
Plain text content of the email
attachments
Attachment[]
Attachments to this email
headers
Map<string, string>
A list of headers from the email
parts
MessagePart[]
references
string[]
A list of message id in the same thread as this mail before this message
zenInboxTags
string[]
A list of tags attached to the thread, this email is part of
espTags
string[]
Tags attached to the email by the ESP
Last updated