popup api add method for retrieving messages by event