Added support for outgoing email

Added support for outgoing email in server_settings_tab.py. Also, simple unit test, to test inputting data.