I’m integrating into the pub/sub capabilities in order to get copies of sent and received emails from users in my G-Suite. I’m quickly realizing that this can get chatty. It seems like every movement of anything in the inbox triggers a history event, which I can see useful in some circumstances, but in this case, I really only care about those 2 events (An email being sent or received).
In order to cut down on my processing, I saw where I can add a subscription filter, however I’m struggling to find where all of my options are. Ideally, I’d love to filter based on the label id, because then I could create a filter where the label id must be either “SENT” or “INBOX”.
Does anybody happen to be able to guide me on this?