Mail Preview Event

Purpose

This API is used to communicate the extension whenever an email is being opened.

Request URL 

clientsdk.on("mail_preview")

 

Sample Request

Copiedclientsdk.on("mail_preview", function(mailObj) {clientsdk.get(["mailInfo","msgId"]).then(function(mailObj){console.log(mailObj); });})