diff --git a/functions/src/unsubscribe.ts b/functions/src/unsubscribe.ts index 0429fcd6..b8f452c6 100644 --- a/functions/src/unsubscribe.ts +++ b/functions/src/unsubscribe.ts @@ -63,7 +63,7 @@ export const unsubscribe: EndpointDefinition = { xmlns:o="urn:schemas-microsoft-com:office:office"> - Manifold Markets 7th Day Anniversary Gift! + Unsubscribe from Manifold Markets emails @@ -216,7 +216,7 @@ export const unsubscribe: EndpointDefinition = { xmlns:o="urn:schemas-microsoft-com:office:office"> - Manifold Markets 7th Day Anniversary Gift! + Unsubscribe from Manifold Markets emails diff --git a/functions/src/weekly-markets-emails.ts b/functions/src/weekly-markets-emails.ts index 7c6f21a4..68063f95 100644 --- a/functions/src/weekly-markets-emails.ts +++ b/functions/src/weekly-markets-emails.ts @@ -17,8 +17,9 @@ import { filterDefined } from '../../common/util/array' export const weeklyMarketsEmails = functions .runWith({ secrets: ['MAILGUN_KEY'], memory: '4GB' }) - // every minute on Monday for an hour at 12pm PT (UTC -07:00) - .pubsub.schedule('* 19 * * 1') + // TODO change back to Monday after the rest of the emails go out + // every minute on Tuesday for 2 hours starting at 12pm PT (UTC -07:00) + .pubsub.schedule('* 19-20 * * 2') .timeZone('Etc/UTC') .onRun(async () => { await sendTrendingMarketsEmailsToAllUsers() @@ -53,7 +54,7 @@ async function sendTrendingMarketsEmailsToAllUsers() { !user.weeklyTrendingEmailSent ) }) - .slice(150) // Send the emails out in batches + .slice(125) // Send the emails out in batches log( 'Sending weekly trending emails to', privateUsersToSendEmailsTo.length,