Authenticate SMTP settings when adding an E-Mail account

Fixes #140
Corrected coding standards