Email functionalities added.