papercups-io / papercups

Open-source live customer chat
https://app.papercups.io/demo
MIT License
5.76k stars 525 forks source link

One-click spam button #968

Open timgl opened 3 years ago

timgl commented 3 years ago

Problem We get quite a lot of unsollicited/spam emails.

Solution Would love to have a 1click in slack to mark as spam, delete the message from Slack (or at least collapse it as those spam emails tend to take up a lot of channel real estate) and never let emails from that sender through again.

Describe alternatives you've considered I manually 'mark as resolved', then delete the slack message itself so it doesn't distract anyone else. Usually however these people will follow up so I need to repeat the song and dance.

Additional context Add any other context, screenshots, or related issues about the feature request here.

Testing Describe how this should be tested.

Questions, or need help getting started? Feel free to ask below, or ping us on Slack :)

(You can also check out our CONTRIBUTING.md)

reichert621 commented 3 years ago

good idea @timgl — would you also want these marked as spam within Gmail (e.g. we could label it as spam via the API), or just internally within Papercups?

timgl commented 3 years ago

I think marking them as a spam in gmail is a nice to have, doesn't really affect us that much (except for punishing spammers which is always good :))

timgl commented 3 years ago

Any other thoughts on this? A decent chunk of the messages we have to wade through now are spam messages and makes us lose track of real messages in Slack so would be awesome to have this

reichert621 commented 3 years ago

@timgl as a first pass, we could surface a "delete" button in slack that handles deleting the thread both in slack and in the dashboard -- would that be ok for now?

timgl commented 3 years ago

Yep that'd be great!