I am trying to collect mail statistics across multiple users in my organization. Ideally I would like to build a service or a daemon that uses the Notification API's, to receive notification whenever a user in the organization receives a mail in his or her inbox.
However it seems from the documentation that the "notification API requests are always performed on the behalf of the current user".
How can a background service get notifications about another user's mailbox events?