Added email capability (Needs debugging)