A message to check if the note/email is "STRICTLY" open

I have call back function which gets called before the note is opened. It works fine with lotus notes 7. It looks like something is changes in 8.5. The call back function is getting called when the message is delivered to the inbox. I am looking for “some kind of message” like EM_NSFNOTEOPEN or EM_NSFNOTEOPENEXTENDED for delivery of the message.