smtp settings, fix errors