Add option to email via gmail or other authenticated service.
Changes to make style consistent
Debug and Notification options.