add function to notify user via his email