Email implemented

All functionality implemented.