diff --git a/index.mjs b/index.mjs index 44f2375..091c645 100644 --- a/index.mjs +++ b/index.mjs @@ -6,7 +6,7 @@ import { export const handler = async (event) => { console.info("Event: ", event); let result = "did not send"; - if (event.subject.includes("You have deliveries") || event.subject.includes("You have a delivery")) { + if (event.subject.includes("You have deliveries") || event.subject.includes("You have a delivery") || event.subject.includes("You have a package to pick up")) { // Trigger home notification console.info("Matched Subject"); const command = `ssh ${process.env.INTERNAL_HOST} "/home/liz/.sound '${process.env.INTERNAL_FILE}'"`;