check for user is online or no when sending notification email is removed