gmailpush icon indicating copy to clipboard operation
gmailpush copied to clipboard

Mark Notified Email as Read

Open monomy001 opened this issue 2 years ago • 1 comments

Hi, is there a way to mark processed email as read, when this email has been forwarded to the google pub/sub? to avoid re-reading the email & re-processing the same email twice? thanks.

monomy001 avatar Dec 09 '22 04:12 monomy001

There are two ways to identify processed emails. You may add custom labels, e.g. 'PROCESSED', to the messages. Or you could use id and threadId. In both cases you would have to add some code to deal with those messages.

For custom labels it should be that labels can be used to filter out notifications. In practice it doesn't work. Every notification about every change made in mailbox will be pushed.

byeokim avatar Jan 02 '23 11:01 byeokim