Skip to content

Commit 1df088c

Browse files
committed
unreadじゃなくてもisNotifiedついてなかったら通知するように
1 parent 8a265b4 commit 1df088c

File tree

1 file changed

+1
-5
lines changed
  • packages/uplim-info-gmail/src

1 file changed

+1
-5
lines changed

packages/uplim-info-gmail/src/main.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@ import { postMessage } from "utils";
22
import { createMessage } from "./functions/createMessage";
33

44
function main() {
5-
const threads = GmailApp.search(
6-
"in:Inbox is:Unread to:info@uplim.co.jp",
7-
0,
8-
100,
9-
);
5+
const threads = GmailApp.search("in:Inbox to:info@uplim.co.jp", 0, 100);
106
const label = GmailApp.getUserLabelByName("isNotified");
117

128
for (const thread of threads) {

0 commit comments

Comments
 (0)