You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Emails-Message email notification is not received #63402
Version Number: 9.1.56-1 Reproducible in staging?: Yes Reproducible in production?: No If this was caught during regression testing, add the test name, ID and link from TestRail:https://expensify.testrail.io/index.php?/tests/view/6200824 Email or phone of affected tester (no customers):agexptest+cvp0206.5@gmail.com Issue reported by: Applause Internal Team Device used: Samsung S23FE/ Android 14 App Component: Notifications
Action Performed:
Go to staging.expensify.com
Sign up with a Gmail account by selecting "Organize my own expenses"
Select "Get paid back from my employer" from the intent selector and complete the onboarding flow
Go to OD and set USD as the Report currency in the individual workspace
Back to ND, create a valid scan expense and submit it to a non-existent account (User B)
Send any message in the expense thread
Wait around 10 minutes, and go to the email inbox and look for the email with the message notification
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
RequestMoney logs. Nothing is jumping out at me. Is this reproducible 100% of the time or happens sporadically? Any more details to share?
Queueing report preview notification for instantly submitted report 5754671050847380 to 20001017
Sending 'Report_Preview' to 'agexptest+cvp0206m3@gmail.com' at ''''2025-06-03 00:10:38''''
Queued report preview notification for report 5754671050847380 to agexptest+cvp0206m3@gmail.com
I think we would have seen an exception if it failed to send. Can you ensure that there are no filters preventing this email from showing up and also check spam?
Hello @marcaaron QA team is still able to reproduce the issue on the latest build v9.1.64-0. We've confirmed that there are no filters preventing the email from appearing, and it hasn't been received in the spam folder either.
Ok I think you meant the notification with the "comment" in this case not the intro email. Hmm... I'm trying to reproduce this locally and what I'm seeing is that we have two log lines:
BedrockWorkerManager.php we@dont.know !script! ?api? [info] ReportUtils - Skipping email because all messages are from the current user. ~~ email: 'asdfasfasdf223423@asdfasdfasdf.com'
BedrockWorkerManager.php we@dont.know !script! ?api? [info] ReportUtils - No new unread comments for this user so we are skipping the notification
So, that means for one of our users we skipped because it's from the current user. But not indication why it was skipped for the other user. I can reproduce this locally so I assume it's widespread.
@rlinoz I'm confused about how this flow is supposed to work these days with GetReportForEmailNotification command. I suspect the participant is maybe getting filtered out there?
Actually I'm not sure now. I think this is just the default behavior. This person is not considered a participant because they have not taken a "notifiable" action on the report. I think we can close this, but I don't see how this was "not reproducible on production"??
@cristipaval you are the last person to mess with this, but it was 2 years ago. Maybe you can confirm.
Activity
melvin-bot commentedon Jun 3, 2025
Triggered auto assignment to @marcaaron (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon Jun 3, 2025
Triggered auto assignment to @maddylewis (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.melvin-bot commentedon Jun 3, 2025
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Jun 3, 2025
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
rafecolton commentedon Jun 3, 2025
Going to remove the
DeployBlockerlabel so I can finish deploying web-secure5 remaining items
marcaaron commentedon Jun 10, 2025
RequestMoneylogs. Nothing is jumping out at me. Is this reproducible 100% of the time or happens sporadically? Any more details to share?marcaaron commentedon Jun 10, 2025
I think we would have seen an exception if it failed to send. Can you ensure that there are no filters preventing this email from showing up and also check spam?
marcaaron commentedon Jun 10, 2025
Bumping the priority down on this since it's not a blocker.
mitarachim commentedon Jun 11, 2025
Hello @marcaaron QA team is still able to reproduce the issue on the latest build v9.1.64-0. We've confirmed that there are no filters preventing the email from appearing, and it hasn't been received in the spam folder either.
Repro.63402-2.mp4
marcaaron commentedon Jun 11, 2025
Sorry, what email are you expecting to see? Can you give an example or describe it?
marcaaron commentedon Jun 11, 2025
Ok I think you meant the notification with the "comment" in this case not the intro email. Hmm... I'm trying to reproduce this locally and what I'm seeing is that we have two log lines:
So, that means for one of our users we skipped because it's from the current user. But not indication why it was skipped for the other user. I can reproduce this locally so I assume it's widespread.
marcaaron commentedon Jun 11, 2025
Oh hmm interesting the other user is not in the participants list 🤔
marcaaron commentedon Jun 11, 2025
@rlinoz I'm confused about how this flow is supposed to work these days with
GetReportForEmailNotificationcommand. I suspect the participant is maybe getting filtered out there?marcaaron commentedon Jun 11, 2025
Actually I'm not sure now. I think this is just the default behavior. This person is not considered a participant because they have not taken a "notifiable" action on the report. I think we can close this, but I don't see how this was "not reproducible on production"??
@cristipaval you are the last person to mess with this, but it was 2 years ago. Maybe you can confirm.
rlinoz commentedon Jun 11, 2025
Yeah, I think you got this right. If the comment had been on the submitted report the manager should get the email, but not in the transaction thread.