This task can be performed using Zentext
Never regret a txt message again.
Best product for this task

Zentext
community
Real-time sentiment analysis catches messages you might regret sending and prompts you to reflect with an integrated breathing exercise. Don’t let anger control your relationships. Plus, sort conversations by mood, set trigger words/phrases, and experience unparalleled privacy with all on-device storage.

What to expect from an ideal product
- Uses smart mood detection to catch heated messages before you hit send
- Pops up a quick breathing exercise when you're typing something angry
- Lets you mark specific words that usually come up when you're upset
- Groups your chats by how positive or negative they are, helping you spot patterns
- Keeps everything private by storing your data only on your phone, not in the cloud