We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8daab94 commit 6b56e86Copy full SHA for 6b56e86
components/gmail/sources/common/polling-messages.mjs
@@ -12,6 +12,11 @@ export default {
12
}
13
await this.processHistoricalEvents(messageIds);
14
},
15
+ async activate() {
16
+ console.log(`Previous lastDate: ${this.getLastDate()}`);
17
+ console.log("Activating source, will poll for new messages from now...");
18
+ this.setLastDate(Date.now());
19
+ },
20
21
methods: {
22
...common.methods,
0 commit comments