added smtp_settings option