Adding mail api