SMTP preferences not saved as expected