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
Report spam moves the message to Spam and blocks the sender. The toast that follows has no Undo, so a mis-click means opening Spam and choosing "Not spam".
What to build
An Undo action on the toast that moves the message back and unblocks the sender.
Where
app/components/mail/MessageView.tsx: handleMarkSpam shows the toast, and handleNotSpam already reverses both steps.
app/lib/toast.ts: toasts accept an action.
Done when
Undo returns the message to the folder it came from and removes the block on the sender.
Activity