added email capabilities