Add variables for mail server and API keys, fix #1