Update NotesServer.py

Updated command structure, added sendEmail function.