Configure SMTP settings
Minor code refactoring of EmailBuilder