-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flush the email with unread message summary and send a separate email notification for money requests #34167
Comments
Triggered auto assignment to @shawnborton ( |
I will work on mocking this up first with @shawnborton and then we can apply the |
Not overdue, on my plate for this week. |
@anmurali is there any more context that you are planning to provide before I dig it? Just responding to your comment "I will work on mocking this up first" |
@shawnborton sorry I have not had a chance to jump in here since last week but I will provide more context on this tomorrow. This is also categorized as |
Sounds good, just keep me posted! |
Ok, so the scope of this issue is just to refactor the email notification that goes out when a money request is sent (DM or workspace chat). This is what it looks like today What we want to do is reuse the This is what an email notification for a message that uses custom subject line looks like: Chat view (Highlighted message): To reuse this construct for money request notifications: Title/ Subj: Sender requests $amount Body: We want this to be HTML and look exactly like the money request in the DM Footer: This message was sent from Expensify. You can reply directly to this message, or pay by clicking on the @shawnborton can we mockup this email and how the money request will look using custom subj line in the chat itself? |
This part tripped me up a bit. Does this mean we'd be adding a custom subject line to every single money request in the app? |
To get the conversation started though, here is a first stab at this:
We might also consider doing something like a small intro blurb to our emails, something like: Then we can get even crazier and consider how we might just group together multiple outstanding items that need your attention: (relevant thread in Slack about that idea above here, cc @RobertLadue @LLPeckham) |
Yes, that's the idea. So maybe we should also add a mockup that shows how that looks in product?
This will be the actual unread message summary. The custom subject line kicks off a realtime email notification of that specific message, which is the money request and nothing but the money request. But the general unread message summary, which is still sent when you're not active in the product would combine all the outstanding items (chats/ requests and everything else you missed) I personally like the intro blurb without the logo power but if you look at the one with the logo power, it says Expensify so many times that it looks weird! What do you think @shawnborton Speaking of intro blurb, should we also include a subtext to say what our product is/ does? Like Venmo does? |
I agree with this in this particular case. So maybe something like this feels nicest? Though I wonder if we want to see how all of this will interact with the work that Lindsey and Bob are doing with the combined daily summary? It feels like there is some overlap here. |
I don't feel too strongly here, but I can see where this is beneficial for users who have never heard of Expensify before and are receiving a request for the first time. I wonder if we could detect that in the notification and add this blurb for when we send something to a user who has never interacted with Expensify before? |
I agree with this |
☝️ Same. |
Don't we NEED that custom subject line above the money request to leverage the custom subject line logic on unreadMessage summary? I am wondering if your design feedback effectively means back to the drawing board on the plan itself #34167 (comment), especially 1 and 2? |
Can't we just send whatever we want as an email subject? Like right now we are just choosing a subject that doesn't come from the chat messages right?
I'm not entirely sure what you mean by this. I do think we can:
|
Bringing this discussion to Slack here |
Ok based on that discussion above, I updated the issue description. Final mockup: @MitchExpensify - I believe you will make sure this issue gets assigned to an engineer now? |
^PR up that makes the pending email with the activity to be flushed before the email with the money request |
I'll continue on this one after finishing my #newdot-quality issue from my plate |
I'm writing the detailed section for the Instant Submit for Control plans, which has higher priority |
I'm stepping back from this as I have a critical #newdot-quality issue and other wave-control stuff on my plate. |
This issue has not been updated in over 15 days. eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
@cristipaval it would be helpful if you could provide a quick summary of what's left to do for this issue, now it's back in the pool. I see the Web PR is deployed: https://github.com/Expensify/Web-Expensify/pull/42416 But then, it's unclear what needs to happen next?
|
This is the PS that we all agreed on, here. From the above, we partially implemented the Solution as follows:
This was implemented in this PR
We already have a separate email notification for the money requests. We need to audit to make sure it has the correct title and also verify where the Pay button links to: the parent report (policy chat) or the IOU/expense report. |
Marc updated that a while back here I believe.
Vivek fixed that here. So this is how it looks: One caveat, it's now not sending at all because of this change, but we're talking about how to resolve this here. |
Are we good to close this issue then? 🤔 |
If that's all you were doing as a next step, yep. Go ahead! |
Context here
Summarizing what we want with email notifications for money requests:
We want to continue to notify the user immediately via email when they receive a money request
We want to use a subject line for this notification, which is different from the report title so as to make it cleaner, more legitimate and more appealing to the receiver
We will update
NotifyOfflineUsersAboutActivity
to recognize when someone sends a money request -- and in that case:We want this subj line to be satisfying, i.e. it should ideally say who is asking you, and how much they are asking for. So in this case, the custom subject line will read
<Sender> requests <currency><amount>
Sender - Use first and last name if available or fall back to sender's email/ SMS login info
NOTE: Here is the last solution we agreed upon.
The text was updated successfully, but these errors were encountered: