added smtp_encryption config parameter