Make SMTP setup generic