Added configurable email capabilities