Add smtp server stuff to global namespace for easy changing

Not the best solution, we should probably:

1. Not use the global namespace. Instead use modules to export variables that we want.
2. Save these variables on Azure as environmental variables.

I haven't really changed much with this commit - it's still using the bad practices from before. However now it's easy to change all of those at once. Not a super high priority right this second, but we'll clean it up eventually.