defect fixes and outbound emails

Fixed issue whereby appengine would return null keys by hardcoding values (office said they would never change these at this point).  Also, added in the ability to send outbound emails.  A very large number of minor defect fixes are also included.