Email and SMS settings to local settings. Fixed email validation

Email and SMS are now more configurable. Previous validation for email didn't work.
Nice {0} to format here and '%s' to format later :)

Let's escape the user&pass. I think `urllib.quote_plus` is the correct function. Two other places below.