Users should be able to opt-in for getting mails, when a build succeeded. This may be useful as they may not be on the website for too long. Therefore, we store username, server, email and password on in global variables.