Compare commits
No commits in common. "a1364c9aff345147a9942ac4d091a8a8e4d9f577" and "055c1df7a27f5f74a7ac88ce42f9512ff2a1f419" have entirely different histories.
a1364c9aff
...
055c1df7a2
|
|
@ -82,7 +82,7 @@ async function getUnreadEmails(account) {
|
||||||
const gmail = google.gmail({ version: 'v1', auth: account.client });
|
const gmail = google.gmail({ version: 'v1', auth: account.client });
|
||||||
const res = await gmail.users.messages.list({
|
const res = await gmail.users.messages.list({
|
||||||
userId: 'me',
|
userId: 'me',
|
||||||
q: '-label:AGENT_READ newer_than:2d',
|
q: 'is:unread -label:AGENT_READ',
|
||||||
maxResults: 10
|
maxResults: 10
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ WORKDIR /app
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
RUN npm install --omit=dev && npx puppeteer browsers install chrome
|
RUN npm install --omit=dev
|
||||||
|
|
||||||
# Copy project files
|
# Copy project files
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue