Added support to email notification when screen is locked