For Example, I have started chatting with but somehow you missed my chat. Then the chat window closes in 24 hours. Right before the closing, it should be sent the alert message to your mobile number or your email ID. Like that