Mail plugin - Moved static values to web.config

Moved static values for username, password, host and port to web.config.
Also removed catch exeptions.