Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Cloud Postbox
  • Getting started
    • Overview
    • Email event notifications
    • Tracking email openings
    • Click tracking in emails
    • Unsubscribe mechanism
    • Terms and definitions
    • Statistics
    • Limitations on email attachments
    • Quotas and limits
  • Access management
  • Pricing policy
  • Audit Trails events
  • Public materials
  • Release notes

In this article:

  • Notification types
  • Notification of email acceptance by the service
  • Email delivered notification
  • Email not delivered notification
  • Email open notification
  • Email click notification
  • Delayed email delivery notification
  • Recipient unsubscribe notification
  • Notification format
  • Main object
  • Mail object
  • CommonHeaders object
  • Send object
  • Bounce object
  • BounceRecipient object
  • Click object
  • Delivery object
  • DeliveryDelay object
  • DelayedRecipient object
  • Subscription object
  • Open object
  • Quality of service (QoS) level
  • Use case
  1. Concepts
  2. Email event notifications

Email event notifications

Written by
Yandex Cloud
Updated at September 19, 2025
  • Notification types
    • Notification of email acceptance by the service
    • Email delivered notification
    • Email not delivered notification
    • Email open notification
    • Email click notification
    • Delayed email delivery notification
    • Recipient unsubscribe notification
  • Notification format
    • Main object
    • Mail object
    • CommonHeaders object
    • Send object
    • Bounce object
    • BounceRecipient object
    • Click object
    • Delivery object
    • DeliveryDelay object
    • DelayedRecipient object
    • Subscription object
    • Open object
  • Quality of service (QoS) level
  • Use case

To get email event notifications, create a configuration and associate it with your address.

Notification typesNotification types

Notification of email acceptance by the serviceNotification of email acceptance by the service

Comes when Yandex Cloud Postbox has accepted the email for processing.

Notification example:

{
    "eventType": "Send",
    "mail": {
        "timestamp": "2024-04-25T18:05:04.84108+03:00",
        "messageId": "vgAyRUls8591ybPKeH-Ov",
        "identityId": "nWh0ZpVEgnKO1bghxydXn",
        "commonHeaders": {
            "from":[ "User <user@example.com>" ],
            "date":"Thu, 27 Jun 2024 14:05:45 +0000",
            "to":[ "Recipient Name <recipient@example.com>" ],
            "messageId":"vgAyRUls8591ybPKeH-Ov",
            "subject":"Message sent using Yandex Cloud Postbox"
        },
        "tags": {
            "key1": [
                "value1"
            ],
            "key2": [
                "value2"
            ]
        }
    },
    "send": {  },
    "eventId": "vgAyRUls8591ybPKeH-Ov:0"
}

Email delivered notificationEmail delivered notification

Comes when the email was sent and the recipient's email client has confirmed acceptance.

Notification example:

{
    "eventType": "Delivery",
    "mail": {
        "timestamp": "2024-04-25T18:05:04.84108+03:00",
        "messageId": "vgAyRUls8591ybPKeH-Ov",
        "identityId": "nWh0ZpVEgnKO1bghxydXn",
        "commonHeaders": {
            "from":[ "User <user@example.com>" ],
            "date":"Thu, 27 Jun 2024 14:05:45 +0000",
            "to":[ "Recipient Name <recipient@example.com>" ],
            "messageId":"vgAyRUls8591ybPKeH-Ov",
            "subject":"Message sent using Yandex Cloud Postbox"
        },
        "tags": {
            "key1": [
                "value1"
            ],
            "key2": [
                "value2"
            ]
        }
    },
    "bounce": null,
    "delivery": {
        "timestamp": "2024-04-25T18:05:14.84107+03:00",
        "processingTimeMillis": 9999,
        "recipients": [
            "abc@example.com"
        ]
    },
    "eventId": "ce3uqnS9pzQBMsnaAbrT_:0"
}

Email not delivered notificationEmail not delivered notification

Comes when the recipient's email client responds to a delivery attempt with an error which, according to Yandex Cloud Postbox, does not require another delivery attempt, or when the recipient's address is on the stop list.

Notification example:

{
    "eventType": "Bounce",
    "mail": {
        "timestamp": "2024-04-25T18:08:04.933666+03:00",
        "messageId": "QA_JPkU2fkpIWdkxAOASH",
        "identityId": "ZtYk0rrjN87m-Ovxjte1G",
        "commonHeaders": {
            "from":[ "User <user@example.com>" ],
            "date":"Thu, 27 Jun 2024 14:05:45 +0000",
            "to":[ "Recipient Name <recipient@example.com>" ],
            "messageId":"QA_JPkU2fkpIWdkxAOASH",
            "subject":"Message sent using Yandex Cloud Postbox"
        },
        "tags": {
            "key1": [
                "value1"
            ],
            "key2": [
                "value2"
            ]
        }
    },
    "bounce": {
        "bounceType": "Permanent",
        "bounceSubType": "Undetermined",
        "bouncedRecipients": [
            {
                "emailAddress": "abc@example.com",
                "action": "failed",
                "status": "5.7.1",
                "diagnosticCode": "Other"
            }
        ],
        "timestamp": "2024-04-25T18:08:04.973666+03:00",
    },
    "delivery": null,
    "eventId": "jdMtnVniDeHqlQX8ygwEX:0"
}

Email open notificationEmail open notification

You get this type of notification when the recipient opens the email.

Notification example:

{
    "eventType": "Open",
    "mail": {
        "timestamp": "2024-04-25T18:08:04.933666+03:00",
        "messageId": "QA_JPkU2fkpIWdkxAOASH",
        "identityId": "ZtYk0rrjN87m-Ovxjte1G",
        "commonHeaders": {
            "from":[ "User <user@example.com>" ],
            "date":"Thu, 27 Jun 2024 14:05:45 +0000",
            "to":[ "Recipient Name <recipient@example.com>" ],
            "messageId":"QA_JPkU2fkpIWdkxAOASH",
            "subject":"Message sent using Yandex Cloud Postbox"
        },
        "tags": {
            "key1": [
                "value1"
            ],
            "key2": [
                "value2"
            ]
        }
    },
    "open": {
        "ipAddress": "192.0.2.1",
        "timestamp": "2024-04-25T18:08:04.933666+03:00",
        "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_3 like Mac OS X) AppleWebKit/603.3.8 (KHTML, like Gecko) Mobile/14G60"
    },
    "eventId": "jdMtnVniDeHqlQX8ygwEX:0"
}

Email click notificationEmail click notification

You get this type of notification when the recipient clicks the link in your email.

Notification example:

{
    "eventType": "Click",
    "mail": {
        "timestamp": "2024-04-25T18:08:04.933666+03:00",
        "messageId": "QA_JPkU2fkpIWdkxAOASH",
        "identityId": "ZtYk0rrjN87m-Ovxjte1G",
        "commonHeaders": {
            "from":[ "User <user@example.com>" ],
            "date":"Thu, 27 Jun 2024 14:05:45 +0000",
            "to":[ "Recipient Name <recipient@example.com>" ],
            "messageId":"QA_JPkU2fkpIWdkxAOASH",
            "subject":"Message sent using Yandex Cloud Postbox"
        },
        "tags": {
            "key1": [
                "value1"
            ],
            "key2": [
                "value2"
            ]
        }
    },
    "click": {
        "ipAddress": "192.0.2.1",
        "timestamp": "2024-04-25T18:08:04.933666+03:00",
        "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_3 like Mac OS X) AppleWebKit/603.3.8 (KHTML, like Gecko) Mobile/14G60",
        "url": "https://example.com/some-link",
        "linkTags": {
            "key1": [
                "value1"
            ],
            "key2": [
                "value2"
            ]
        }
    },
    "eventId": "jdMtnVniDeHqlQX8ygwEX:0"
}

Delayed email delivery notificationDelayed email delivery notification

Once successfully accepted by Yandex Cloud Postbox, the email is normally sent it right away. However, a slight delay in delivery may sometimes occur. It is in this case that you receive this type of notification.

Notification example:

{
    "eventType": "DeliveryDelay",
    "mail": {
        "timestamp": "2024-04-25T18:08:04.933666+03:00",
        "messageId": "QA_JPkU2fkpIWdkxAOASH",
        "identityId": "ZtYk0rrjN87m-Ovxjte1G",
        "commonHeaders": {
            "from":[ "User <user@example.com>" ],
            "date":"Thu, 27 Jun 2024 14:05:45 +0000",
            "to":[ "Recipient Name <recipient@example.com>" ],
            "messageId":"QA_JPkU2fkpIWdkxAOASH",
            "subject":"Message sent using Yandex Cloud Postbox"
        },
        "tags": {
            "key1": [
                "value1"
            ],
            "key2": [
                "value2"
            ]
        }
    },
    "deliveryDelay": {
        "delayType": "General",
        "delayedRecipients": [
            {
                "emailAddress": "recipient@example.com"
            }
        ],
        "timestamp": "2024-04-25T18:10:04.973666+03:00"
    },
    "eventId": "jdMtnVniDeHqlQX8ygwEX:0"
}

Recipient unsubscribe notificationRecipient unsubscribe notification

You get this type of notification when the recipient uses one-click unsubscribe that Yandex Cloud Postbox adds to emails.

Notification example:

{
    "eventType": "Unsubscribe",
    "mail": {
        "timestamp": "2024-04-25T18:08:04.933666+03:00",
        "messageId": "QA_JPkU2fkpIWdkxAOASH",
        "identityId": "ZtYk0rrjN87m-Ovxjte1G",
        "commonHeaders": {
            "from":[ "User <user@example.com>" ],
            "date":"Thu, 27 Jun 2024 14:05:45 +0000",
            "to":[ "Recipient Name <recipient@example.com>" ],
            "messageId":"QA_JPkU2fkpIWdkxAOASH",
            "subject":"Message sent using Yandex Cloud Postbox"
        },
        "tags": {
            "key1": [
                "value1"
            ],
            "key2": [
                "value2"
            ]
        }
    },
    "subscription": {
        "contactList": "my-list",
        "timestamp": "2024-04-25T18:08:04.973666+03:00",
        "source": "UnsubscribeHeader"
    }
}

Notification formatNotification format

The notification is written to the Yandex Data Streams data stream in JSON format. The list and sequence of fields may differ from those described below.

Main objectMain object

Name Type Description
notificationType String Notification type. The possible values are Bounce, Delivery, and Send.
mail Mail object Object containing general information about the sent email.
bounce Bounce object Object containing information that the email has not been delivered. Required if the notificationType is Bounce; otherwise, not present.
delivery Delivery object Object containing information about the email being delivered to an individual recipient. Required if the notificationType is Delivery; otherwise, not present.
subscription Subscription object Object containing information that the recipient has unsubscribed from the mailing list. Required if the notificationType is Subscription; otherwise, not present.
open Open object Object containing information that the email has been opened. Required if the notificationType is Open; otherwise, not present.
eventId String Unique ID of the event.

Mail objectMail object

Name Type Description
timestamp String Date in RFC 3339 (2006-01-02T15:04:05Z07:00) format. Time the email was accepted by Yandex Cloud Postbox.
messageId String Unique ID of the email. One email can have multiple recipients. Sent by Yandex Cloud Postbox when accepting the email for processing.
identityId String ID of the Yandex Cloud Postbox address used when sending the email.
commonHeaders CommonHeaders object Object containing the main headers of the email.
tags Object Object containing tags added to the email.

CommonHeaders objectCommonHeaders object

Name Type Description
from Array of strings Contents of the From header, broken down by address.
to Array of strings Contents of the To header, broken down by address.
subject String Contents of the Subject header.
date String Contents of the Date header.
messageId String Unique ID of the email. Sent by Yandex Cloud Postbox when accepting the email.

Send objectSend object

Empty object.

Bounce objectBounce object

Name Type Description
bounceType String Error type. The possible values are:
  • Permenent: Email not delivered.
bounceSubType String Error subtype. The possible values are:
  • Undetermined: Unknown error.
  • Suppressed: Email not delivered because the recipient is on the stop list.
bouncedRecipients Array of BounceRecipient objects Array containing information about the email recipient and the related delivery error, if any.
timestamp String Date in RFC 3339 (2006-01-02T15:04:05Z07:00) format. Time the error was received from the recipient's email client.

BounceRecipient objectBounceRecipient object

Name Type Description
emailAddress String Recipient's email address.
action String Optional field. Result of sending. The possible value is failed.
status String Optional field. SMTP response code.
diagnosticCode String Optional field. Extended error text. May contain error text from the recipient's email client.

Click objectClick object

Name Type Description
ipAddress String IP address of the recipient’s device used to open the link.
timestamp String Date in RFC 3339 (2006-01-02T15:04:05Z07:00) format. Time when the recipient clicked the link.
userAgent String Identification string (User-Agent) of the device or email the client used to open the link.
url String Original URL the recipient opened.
linkTags Object Object containing tags added to the link.

Delivery objectDelivery object

Name Type Description
timestamp String Date in RFC 3339 (2006-01-02T15:04:05Z07:00) format. Time when Yandex Cloud Postbox sent the email and received a successful response from the recipient's email client.
processingTimeMillis Integer Time spent to process the email in milliseconds.
recipients Array of strings Addresses of recipients.

DeliveryDelay objectDeliveryDelay object

Name Type Description
delayType String Delay type. The possible value is General.
delayedRecipients DelayedRecipient object array Array containing information about the email recipient and the related delivery delay.
timestamp String Date in RFC 3339 (2006-01-02T15:04:05Z07:00) format. Delivery delay timestamp.

DelayedRecipient objectDelayedRecipient object

Name Type Description
emailAddress String Recipient's email address.

Subscription objectSubscription object

Name Type Description
contactList String Name of the contact list associated with the email.
timestamp String Date in RFC 3339 (2006-01-02T15:04:05Z07:00) format. Recipient unsubscribe timestamp.
source String Unsubscribe source. The possible value is UnsubscribeHeader.

Open objectOpen object

Name Type Description
ipAddress String IP address of the recipient’s device used to open the email.
timestamp String Date in RFC 3339 (2006-01-02T15:04:05Z07:00) format. Email opening timestamp.
userAgent String Identification string (User-Agent) of the device or email the client used to open the email.

Quality of service (QoS) levelQuality of service (QoS) level

When delivering notifications, Yandex Cloud Postbox supports the QoS 1: At least once service level, which means the notifications may be sent again. Identical notifications have the same eventId.

If an address is linked to a configuration that has multiple subscriptions added to it, a separate notification will come for each assignment.

Use caseUse case

You sent an email to two recipients: user1@example.com and user2@other.example.com. Yandex Cloud Postbox sent it to both recipients separately.

The email client of user1@example.com accepted the email. The email client of the recipient user2@other.example.com returned an error after the first attempt to send the email and declined to accept the email after the second attempt, replying that the user was not found.

In which case you will get these three notifications:

  • Notification that Yandex Cloud Postbox accepted the email for processing.
  • Notification that the email was delivered to user1@example.com.
  • Notification that the email was not delivered to user2@other.example.com with the error info. The notification will come after the second attempt to send the email.

Since the mail client responded that the recipient user2@other.example.com was not found, the address will be temporarily put on the stop list. You should wait for some time before trying to reach the address again, otherwise you will get notified that your message was not delivered because the recipient was on the stop list.

Was the article helpful?

Previous
Overview
Next
Tracking email openings
© 2025 Direct Cursus Technology L.L.C.