PLF-4468 : Cleanup and externalize Emails/SMTP configuration