Monitor mails sent from gmail using pub/sub

HI,

I'm able to monitor the emails sent from my application using a Gmail account and monitor those emails using the Pub/Sub API, but I'm unable to monitor emails sent from the Gmail app with the same email ID. As in I'm unable to monitor emails that I send from my gmail account using Gmail app.

Can anyone help me out with this?
 
0 1 622
1 REPLY 1

Hey Mohe,

If I understand correctly, you would like to monitor emails sent from the Gmail interface, using the APIs, is that correct? 

Your application might use either Gmail's SMTP protocol, or Gmail API in order to send messages. Both actions should be visible in Workspace Admin reports. If you have the admin access, you can use the userUsageReport.get method and Gmail Parameters.

You can retrieve these events by calling UserUsageReport.get() with parameters=gmail:PARAMETER.

Hope this helps,
Best,
Marcin

Top Labels in this Space